summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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);
}
}