From 96959c801d2bb74220ee7b444bca9988b1bfe450 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 23 Jan 2024 12:13:15 +0300 Subject: =?UTF-8?q?fixes=20#4128=20(=D0=9F=D1=83=D0=BD=D0=BA=D1=82=20?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D1=8E=20"=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D1=85=20=D0=B2=20=D0=B3=D1=80=D1=83=D0=BF?= =?UTF-8?q?=D0=BF=D0=B5"=20=D0=B2=D0=B5=D0=B4=D1=91=D1=82=20=D1=81=D0=B5?= =?UTF-8?q?=D0=B1=D1=8F=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=BD=D0=BE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mir_app/src/clc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3