From 7339bc08a765b87b0140e350a05fcf0d22a57722 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Apr 2013 16:14:47 +0000 Subject: mir_getCLI() - a helper for MS_CLIST_RETRIEVE_INTERFACE, just call it without parameters git-svn-id: http://svn.miranda-ng.org/main/trunk@4368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BossKeyPlus/src/BossKey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/BossKeyPlus/src/BossKey.cpp') diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp index 87bbb5cb6d..df278659e4 100644 --- a/plugins/BossKeyPlus/src/BossKey.cpp +++ b/plugins/BossKeyPlus/src/BossKey.cpp @@ -730,7 +730,6 @@ int MirandaLoaded(WPARAM wParam,LPARAM lParam) HookEvent(ME_MSG_TOOLBARLOADED, TabsrmmButtonsInit); HookEvent(ME_MSG_BUTTONPRESSED, TabsrmmButtonPressed); - pcli = (CLIST_INTERFACE *)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)g_hInstance); GetWindowThreadProcessId(pcli->hwndContactList, &g_dwMirandaPID); // let's create our secret window @@ -807,6 +806,7 @@ int MirandaLoaded(WPARAM wParam,LPARAM lParam) extern "C" int __declspec(dllexport) Load(void) { mir_getLP(&pluginInfo); + mir_getCLI(); g_wMaskAdv = db_get_w(NULL,MOD_NAME,"optsmaskadv",0); g_bOldSetting = db_get_b(NULL, MOD_NAME, "OldSetting", 0); -- cgit v1.2.3