Fix NPPM_ISTABBARHIDDEN v8.7.9 refactoring regression

Regression originates from:
ff734af115

Fix #17102, fix #16831, close #17115
This commit is contained in:
xomx 2025-10-29 22:29:48 +01:00 committed by Don HO
parent e6739c0ab7
commit 1ec38b8f75

View File

@ -3333,7 +3333,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
case NPPM_ISTABBARHIDDEN:
{
NppGUI& nppGUI = nppParam.getNppGUI();
return nppGUI._tabStatus & TAB_HIDE;
return (nppGUI._tabStatus & TAB_HIDE) != 0;
}
case NPPM_HIDETOOLBAR: