summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-27 16:55:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-27 17:00:23 +0300
commit5acc73ee5648a0d8c7065611043fca5297ef0682 (patch)
tree8e20af180ff9bdc043ec6d310c8ecfdad05f4993 /src
parent11a50838009ec765f1d680fb55b264300ed6b797 (diff)
suddenly... Srmm_SetButtonState does nothing
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
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;