summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-23 12:13:15 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-23 12:13:15 +0300
commit96959c801d2bb74220ee7b444bca9988b1bfe450 (patch)
tree781eef395692e355a1feccdfd0fc639fb1efd0a6
parentada46091f70dc47d85e45f086fc52df2ef034425 (diff)
fixes #4128 (Пункт меню "показать отключенных в группе" ведёт себя странно)
-rw-r--r--src/mir_app/src/clc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/clc.cpp b/src/mir_app/src/clc.cpp
index 48a54d8745..ff352246f2 100644
--- a/src/mir_app/src/clc.cpp
+++ b/src/mir_app/src/clc.cpp
@@ -354,7 +354,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT uMsg, WPARAM wParam
case INTM_GROUPSCHANGED:
if (auto *pGroup = (CGroupInternal *)lParam) {
// check name of group and ignore message if just being expanded/collapsed
- if (!Clist_FindItem(hwnd, dat, pGroup->groupId | HCONTACT_ISGROUP, &contact, &group))
+ if (!Clist_FindItem(hwnd, dat, pGroup->groupId+1 | HCONTACT_ISGROUP, &contact, &group))
break;
CMStringW szFullName(contact->szText);