From 4549087d4f7044dbf51a75d1af605ac93f6fbd6b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Oct 2023 20:44:01 +0300 Subject: =?UTF-8?q?fixes=20#3709=20(GmailNotifier:=20=D0=B8=D0=B7=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=83=D1=87=D1=91=D1=82?= =?UTF-8?q?=D0=BD=D1=8B=D1=85=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20?= =?UTF-8?q?=D0=B2=20=D0=9C=D0=B8=D1=80=D0=B0=D0=BD=D0=B4=D0=B5=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=D0=B2=D0=BE=D0=B4=D0=B8=D1=82=20=D0=BA=20=D0=BD?= =?UTF-8?q?=D0=B5=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BE=D1=81=D0=BF=D0=BE?= =?UTF-8?q?=D1=81=D0=BE=D0=B1=D0=BD=D0=BE=D1=81=D1=82=D0=B8=20=D0=BF=D0=BB?= =?UTF-8?q?=D0=B0=D0=B3=D0=B8=D0=BD=D0=B0=20=D0=B4=D0=BE=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/GmailNotifier/src/notify.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/GmailNotifier/src/notify.cpp') 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); -- cgit v1.2.3