summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/groupmenu.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-23 21:08:23 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-23 21:08:23 +0300
commit97846e5e80ca89b0307d740e71cd488895ac42c6 (patch)
treefc48e0f23fa9062a29fff6414210e21f6077dac9 /plugins/Clist_modern/src/groupmenu.cpp
parent17b316e3e7bce8ca2f51efdc8824451c4be89b8f (diff)
let boolean variables inside ClcGroup be boolean
Diffstat (limited to 'plugins/Clist_modern/src/groupmenu.cpp')
-rw-r--r--plugins/Clist_modern/src/groupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/groupmenu.cpp b/plugins/Clist_modern/src/groupmenu.cpp
index c3d6d99d0b..d91e63214b 100644
--- a/plugins/Clist_modern/src/groupmenu.cpp
+++ b/plugins/Clist_modern/src/groupmenu.cpp
@@ -118,7 +118,7 @@ static int OnBuildSubGroupMenu(WPARAM wParam, LPARAM)
return 0;
bool showOfflineinGroup = CLCItems_IsShowOfflineGroup(group);
- bool gray2 = group->hideOffline == 0;
+ bool gray2 = !group->bHideOffline;
Menu_EnableItem(hShowOfflineUsersHereMenuItem, gray2);
Menu_SetChecked(hShowOfflineUsersHereMenuItem, showOfflineinGroup && gray2);