diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index de4747b25..a56c7c0fb 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -666,7 +666,7 @@ bool Notepad_plus::doSave(BufferID id, const TCHAR * filename, bool isCopy) _pFuncList->reload(); } - return res; + return res == SavingStatus::SaveOK; } void Notepad_plus::doClose(BufferID id, int whichOne, bool doDeleteBackup)