From df91299c0082a489e3a45f06b1cb52f2162b883d Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Tue, 11 Sep 2012 01:33:53 +0300 Subject: ported changes from miranda_ng branch --- icons.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'icons.cpp') diff --git a/icons.cpp b/icons.cpp index 58a24c9..671be13 100755 --- a/icons.cpp +++ b/icons.cpp @@ -139,10 +139,9 @@ void setSrmmIcon(HANDLE h) void RefreshContactListIcons() { - HANDLE hContact; extern HANDLE g_hCLIcon; CallService(MS_CLUI_LISTBEGINREBUILD,0,0); - hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0); + HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0); while (hContact) { setClistIcon(hContact); -- cgit v1.2.3