From 5e49edfe66308d79bd8095acb1c89d0e987c7aa4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Sep 2016 16:51:39 +0000 Subject: Clist_GetImageList() git-svn-id: http://svn.miranda-ng.org/main/trunk@17266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdclist/src/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/stdclist') diff --git a/src/core/stdclist/src/init.cpp b/src/core/stdclist/src/init.cpp index 8c3a6d471d..2373ac2c35 100644 --- a/src/core/stdclist/src/init.cpp +++ b/src/core/stdclist/src/init.cpp @@ -84,7 +84,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_CLIST, static int OnAccountsChanged(WPARAM, LPARAM) { - himlCListClc = (HIMAGELIST)CallService(MS_CLIST_GETICONSIMAGELIST, 0, 0); + himlCListClc = Clist_GetImageList(); return 0; } @@ -96,7 +96,7 @@ static int OnModulesLoaded(WPARAM, LPARAM) { HookEvent(ME_MODERNOPT_INITIALIZE, OnModernOptsInit); RegisterCListFonts(); - himlCListClc = (HIMAGELIST)CallService(MS_CLIST_GETICONSIMAGELIST, 0, 0); + himlCListClc = Clist_GetImageList(); return 0; } -- cgit v1.2.3