Fix style.xml not remember by light mode

This commit is contained in:
Don Ho 2022-11-22 16:59:50 +01:00
parent e2a1234384
commit 4c188c3019
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ intptr_t CALLBACK WordStyleDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM
::SendMessage(_hParent, WM_UPDATEMAINMENUBITMAPS, 0, 0);
const TCHAR* fn = ::PathFindFileName(_themeName.c_str());
NppDarkMode::setThemeName(fn);
NppDarkMode::setThemeName(lstrcmp(fn, L"stylers.xml") == 0 ? L"" : fn);
return TRUE;
}