From a9b586e6cc79ce800c76c5dfdedbf90768bad7e7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 6 Jul 2015 20:46:41 +0000 Subject: inverted logic to be damned git-svn-id: http://svn.miranda-ng.org/main/trunk@14502 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/menu_groups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/menu_groups.cpp b/src/mir_app/src/menu_groups.cpp index f70ce3266f..db6b7405c1 100644 --- a/src/mir_app/src/menu_groups.cpp +++ b/src/mir_app/src/menu_groups.cpp @@ -145,7 +145,7 @@ static int OnBuildGroupMenu(WPARAM, LPARAM) DWORD dwStyle = GetWindowLongPtr(cli.hwndContactTree, GWL_STYLE); Menu_SetChecked(hHideEmptyGroupsMenuItem, (dwStyle & CLS_HIDEEMPTYGROUPS) != 0); - Menu_SetChecked(hDisableGroupsMenuItem, (dwStyle & CLS_USEGROUPS) != 0); + Menu_SetChecked(hDisableGroupsMenuItem, (dwStyle & CLS_USEGROUPS) == 0); return 0; } -- cgit v1.2.3