summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src/Misc.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-22 05:15:11 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-22 05:15:11 +0000
commitaaa6c50016843a86c250d4c7725f626b340c7aad (patch)
tree9010e5c0393632933af09b16215d8f578b135324 /plugins/ClientChangeNotify/src/Misc.h
parent26fcb2d02ed4d1e295968d46ebdff67665f5192c (diff)
hooking loading/unloading events
git-svn-id: http://svn.miranda-ng.org/main/trunk@3678 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ClientChangeNotify/src/Misc.h')
-rw-r--r--plugins/ClientChangeNotify/src/Misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ClientChangeNotify/src/Misc.h b/plugins/ClientChangeNotify/src/Misc.h
index 262193dc26..55bf91cfdf 100644
--- a/plugins/ClientChangeNotify/src/Misc.h
+++ b/plugins/ClientChangeNotify/src/Misc.h
@@ -18,11 +18,11 @@
*/
#include "Common.h"
-
+extern BOOL bPopupExists;
__inline void ShowMsg(TCHAR *FirstLine, TCHAR *SecondLine = _T(""), bool IsErrorMsg = false, int Timeout = 0)
{
- if (ServiceExists(MS_POPUP_ADDPOPUPEX))
+ if (bPopupExists)
{
POPUPDATAT ppd = {0};
ppd.lchIcon = LoadIcon(NULL, IsErrorMsg ? IDI_EXCLAMATION : IDI_INFORMATION);