From 5acc73ee5648a0d8c7065611043fca5297ef0682 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 27 Feb 2017 16:55:26 +0300 Subject: suddenly... Srmm_SetButtonState does nothing --- src/mir_app/src/srmm_toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp index 7be89dae29..26523fbe01 100644 --- a/src/mir_app/src/srmm_toolbar.cpp +++ b/src/mir_app/src/srmm_toolbar.cpp @@ -190,7 +190,7 @@ MIR_APP_DLL(int) Srmm_SetButtonState(MCONTACT hContact, BBButton *bbdi) if (!tempCID) return 1; - HWND hwndDlg = WindowList_Find(NULL, hContact); + HWND hwndDlg = WindowList_Find(chatApi.hWindowList, hContact); if (hwndDlg == NULL) return 1; -- cgit v1.2.3