summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/src/options.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-02-21 19:28:32 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-02-21 19:28:32 +0000
commit0d6aa760cd3262bcee3564b053192f959f176cf1 (patch)
tree0da98e03abf4fe89b7dc63e33d4ddce9fe784370 /plugins/MenuItemEx/src/options.cpp
parentc09558a93578bd68aa30f3eee87babf5c92c3775 (diff)
hooking loading/unloading popups plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@3674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MenuItemEx/src/options.cpp')
-rw-r--r--plugins/MenuItemEx/src/options.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MenuItemEx/src/options.cpp b/plugins/MenuItemEx/src/options.cpp
index 1232d22450..9b9fadc838 100644
--- a/plugins/MenuItemEx/src/options.cpp
+++ b/plugins/MenuItemEx/src/options.cpp
@@ -2,6 +2,7 @@
extern HINSTANCE hinstance;
+extern BOOL bPopUpService;
struct {
int idc;
@@ -45,7 +46,7 @@ INT_PTR CALLBACK OptionsProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam)
CheckDlgButton(hdlg, checkboxes[i].idc, (flags & checkboxes[i].flag) ? BST_CHECKED : BST_UNCHECKED);
}
- if (ServiceExists(MS_POPUP_ADDPOPUP))
+ if (bPopUpService)
{
for (i = 0; i < 4; i++)
{