diff --git a/PowerEditor/src/NppIO.cpp b/PowerEditor/src/NppIO.cpp index e3ace2d2e..f83352b50 100644 --- a/PowerEditor/src/NppIO.cpp +++ b/PowerEditor/src/NppIO.cpp @@ -2344,5 +2344,5 @@ void Notepad_plus::saveSession(const Session & session) void Notepad_plus::saveCurrentSession() { - ::PostMessage(_pPublicInterface->getHSelf(), NPPM_INTERNAL_SAVECURRENTSESSION, 0, 0); + ::SendMessage(_pPublicInterface->getHSelf(), NPPM_INTERNAL_SAVECURRENTSESSION, 0, 0); }