diff --git a/Versions/build.txt b/Versions/build.txt index 5c8cd84c0..a317748d0 100644 --- a/Versions/build.txt +++ b/Versions/build.txt @@ -1 +1 @@ -2517 +2518 diff --git a/res/Notepad3.exe.manifest.conf b/res/Notepad3.exe.manifest.conf index 652a376f8..4b01eacc2 100644 --- a/res/Notepad3.exe.manifest.conf +++ b/res/Notepad3.exe.manifest.conf @@ -3,7 +3,7 @@ Notepad3 RC2 diff --git a/src/Dialogs.c b/src/Dialogs.c index 1a3bb9213..162edb171 100644 --- a/src/Dialogs.c +++ b/src/Dialogs.c @@ -285,8 +285,13 @@ INT_PTR InfoBoxLng(UINT uType, LPCWSTR lpstrSetting, UINT uidMsg, ...) case IDYES: case IDCONTINUE: return iMode; + case 0: + // no entry found + case -1: + // disable "Don't display again" check-box break; + default: IniFileDelete(Globals.IniFile, Constants.SectionSuppressedMessages, lpstrSetting, false); break; @@ -335,7 +340,7 @@ INT_PTR InfoBoxLng(UINT uType, LPCWSTR lpstrSetting, UINT uidMsg, ...) } msgBox.lpstrSetting = (LPWSTR)lpstrSetting; - msgBox.bDisableCheckBox = (StrIsEmpty(Globals.IniFile) || StrIsEmpty(lpstrSetting)) ? true : false; + msgBox.bDisableCheckBox = (StrIsEmpty(Globals.IniFile) || StrIsEmpty(lpstrSetting) || (iMode < 0) ? true : false; int idDlg; diff --git a/src/VersionEx.h b/src/VersionEx.h index 93311ebee..c491b17b4 100644 --- a/src/VersionEx.h +++ b/src/VersionEx.h @@ -8,7 +8,7 @@ #define VERSION_MAJOR 5 #define VERSION_MINOR 19 #define VERSION_REV 730 -#define VERSION_BUILD 2517 +#define VERSION_BUILD 2518 #define SCINTILLA_VER 420 #define ONIGURUMA_REGEX_VER 6.9.3 #define VERSION_PATCH RC2