diff options
-rw-r--r-- | src/mir_app/src/srmm_toolbar.cpp | 2 |
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; |