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 --- src/core/stdclist/src/init.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/stdclist') diff --git a/src/core/stdclist/src/init.cpp b/src/core/stdclist/src/init.cpp index 6f7f69a575..b8b542cc35 100644 --- a/src/core/stdclist/src/init.cpp +++ b/src/core/stdclist/src/init.cpp @@ -134,8 +134,7 @@ static INT_PTR GetStatusMode(WPARAM wParam, LPARAM lParam) extern "C" __declspec(dllexport) int CListInitialise() { mir_getLP( &pluginInfo ); - - pcli = ( CLIST_INTERFACE* )CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, (LPARAM)g_hInst); + mir_getCLI(); pcli->pfnPaintClc = PaintClc; -- cgit v1.2.3