summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-08 11:37:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-08 11:37:28 +0000
commit6b05d57a1d02f233409a2e4392e22b7a3a756a8f (patch)
tree81da58d8ee4ed00139cf6da3fcc03a6405ab69be /plugins/Clist_mw/src
parent67abd5767f442340f8c98cb08dc0b43ecb5cf783 (diff)
fix for the undocumented MS_CLIST_RETRIEVE_INTERFACE feature
git-svn-id: http://svn.miranda-ng.org/main/trunk@4384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src')
-rw-r--r--plugins/Clist_mw/src/init.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_mw/src/init.cpp b/plugins/Clist_mw/src/init.cpp
index 667f23f288..be7d95d862 100644
--- a/plugins/Clist_mw/src/init.cpp
+++ b/plugins/Clist_mw/src/init.cpp
@@ -153,10 +153,11 @@ extern "C" int __declspec(dllexport) CListInitialise()
OutputDebugStringA("CListInitialise ClistMW\r\n");
mir_getLP( &pluginInfo );
+ mir_getCLI();
PreloadCLCModule();
- mir_getCLI();
+ pcli->hInst = g_hInst;
pcli->pfnBuildGroupPopupMenu = BuildGroupPopupMenu;
pcli->pfnCalcEipPosition = CalcEipPosition;
pcli->pfnCheckCacheItem = CheckPDNCE;