diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-05 20:44:01 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-05 20:44:01 +0300 |
commit | 4549087d4f7044dbf51a75d1af605ac93f6fbd6b (patch) | |
tree | 277bede3e6aab34535e71dce09cbbad4f3728af5 /protocols/GmailNotifier/src/notify.cpp | |
parent | 55c9a5eb7104f24342e121f7b949eaf4cc5557b5 (diff) |
fixes #3709 (GmailNotifier: изменение учётных данных в Миранде приводит к неработоспособности плагина до перезапуска)
Diffstat (limited to 'protocols/GmailNotifier/src/notify.cpp')
-rw-r--r-- | protocols/GmailNotifier/src/notify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/GmailNotifier/src/notify.cpp b/protocols/GmailNotifier/src/notify.cpp index 99b26b8f55..5b797c221a 100644 --- a/protocols/GmailNotifier/src/notify.cpp +++ b/protocols/GmailNotifier/src/notify.cpp @@ -74,7 +74,7 @@ int OpenBrowser(WPARAM hContact, LPARAM) Account *curAcc = GetAccountByContact(hContact); PUDeletePopup(curAcc->popUpHwnd); Clist_RemoveEvent(curAcc->hContact, 1); - if (GetKeyState(VK_SHIFT) >> 8 || optionWindowIsOpen) + if (GetKeyState(VK_SHIFT) >> 8 || g_bOptionWindowIsOpen) return FALSE; if (curAcc->oldResults_num != 0) { @@ -121,7 +121,7 @@ static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPA void NotifyUser(Account *curAcc) { - if (optionWindowIsOpen) + if (g_bOptionWindowIsOpen) return; db_set_s(curAcc->hContact, "CList", "MyHandle", curAcc->results.content); |