summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/main.cpp')
-rw-r--r--plugins/Popup/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index 8bd25c587d..2adce19774 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -37,6 +37,7 @@ void UpgradeDb();
static int OkToExit(WPARAM, LPARAM);
bool OptionLoaded = false;
int hLangpack = 0;
+CLIST_INTERFACE *pcli;
//===== Global variables ================================================================
HMODULE hUserDll = 0;
@@ -325,6 +326,7 @@ MIRAPI int Load(void)
DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &hMainThread, THREAD_SET_CONTEXT, FALSE, 0);
mir_getLP(&pluginInfoEx);
+ mir_getCLI();
CreateServiceFunction(MS_POPUP_GETSTATUS, GetStatus);
@@ -442,6 +444,5 @@ MIRAPI int Unload(void)
UnloadTreeData();
CloseHandle(hMainThread);
-
return 0;
}