diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-23 21:08:23 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-23 21:08:23 +0300 |
commit | 97846e5e80ca89b0307d740e71cd488895ac42c6 (patch) | |
tree | fc48e0f23fa9062a29fff6414210e21f6077dac9 /plugins/Clist_modern/src/groupmenu.cpp | |
parent | 17b316e3e7bce8ca2f51efdc8824451c4be89b8f (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.cpp | 2 |
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);
|