summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify/src/Misc.h
diff options
context:
space:
mode:
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);