summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 19:37:37 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 19:37:37 +0000
commit6729c6796e69318e983275649951a21af08583c3 (patch)
tree9f8aa28c83fd4d0c79b9132ac64bca0d64477874
parent2566e91de88b60694d9bf346dca707252f0165a9 (diff)
TabSRMM: fix for toaster
git-svn-id: http://svn.miranda-ng.org/main/trunk@15500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/TabSRMM/src/eventpopups.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}