Fix NPPM_RELOADFILE with 8.3 path containing bug
Fixes issue seen with pythonscript testcase https://github.com/bruderstein/PythonScript/blob/master/PythonScript/python_tests/tests/NotepadWrapperTestCase.py#L383-L397 using NPPM_RELOADFILE with a 8.3 path containing. Fix #11106, close #11107
This commit is contained in:
parent
73a4cdc104
commit
c0be50494c
|
@ -1599,7 +1599,7 @@ BufferID FileManager::getBufferFromName(const TCHAR* name)
|
|||
|
||||
for (size_t i = 0; i < _buffers.size(); i++)
|
||||
{
|
||||
if (OrdinalIgnoreCaseCompareStrings(name, _buffers.at(i)->getFullPathName()) == 0)
|
||||
if (OrdinalIgnoreCaseCompareStrings(fullpath, _buffers.at(i)->getFullPathName()) == 0)
|
||||
{
|
||||
if (_buffers.at(i)->_referees[0]->isVisible())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue