From 1ec38b8f7514a1112c89bac7883de3673f63ebc7 Mon Sep 17 00:00:00 2001 From: xomx Date: Wed, 29 Oct 2025 22:29:48 +0100 Subject: [PATCH] Fix NPPM_ISTABBARHIDDEN v8.7.9 refactoring regression Regression originates from: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ff734af115372eb3e6660c2891e55a914efb30bd Fix #17102, fix #16831, close #17115 --- PowerEditor/src/NppBigSwitch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/NppBigSwitch.cpp b/PowerEditor/src/NppBigSwitch.cpp index 0586d2940..cc269ed8f 100644 --- a/PowerEditor/src/NppBigSwitch.cpp +++ b/PowerEditor/src/NppBigSwitch.cpp @@ -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: