From 6729c6796e69318e983275649951a21af08583c3 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 2 Oct 2015 19:37:37 +0000 Subject: TabSRMM: fix for toaster git-svn-id: http://svn.miranda-ng.org/main/trunk@15500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/eventpopups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/TabSRMM/src/eventpopups.cpp b/plugins/TabSRMM/src/eventpopups.cpp index 4916bd6264..ce33439396 100644 --- a/plugins/TabSRMM/src/eventpopups.cpp +++ b/plugins/TabSRMM/src/eventpopups.cpp @@ -814,7 +814,7 @@ void TSAPI DeletePopupsForContact(MCONTACT hContact, DWORD dwMask) PLUGIN_DATAT *_T = 0; while ((_T = PU_GetByContact(hContact)) != 0) { _T->hContact = 0; // make sure, it never "comes back" - if (_T->hWnd != 0 && IsWindow(_T->hWnd)) + if (_T->hWnd != 0) PUDeletePopup(_T->hWnd); } } -- cgit v1.2.3