From 2105de2e1be94d18a1cb5dfd6afcc33a788bc640 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Apr 2016 14:54:58 +0000 Subject: R.I.P m_clui.h, you helped us alot git-svn-id: http://svn.miranda-ng.org/main/trunk@16767 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryPlusPlus/GlobalSearch.pas | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/HistoryPlusPlus/GlobalSearch.pas') diff --git a/plugins/HistoryPlusPlus/GlobalSearch.pas b/plugins/HistoryPlusPlus/GlobalSearch.pas index 5454de3ffe..a868423ead 100644 --- a/plugins/HistoryPlusPlus/GlobalSearch.pas +++ b/plugins/HistoryPlusPlus/GlobalSearch.pas @@ -530,11 +530,9 @@ begin else begin li.Caption := LastAddedContact.Name; - // li.Caption := CurContactName; Inc(ContactsFound); end; - li.ImageIndex := CallService(MS_CLIST_GETCONTACTICON, CurContact, 0); - // meTest.Lines.Add(CurContactName+' icon is '+IntToStr(CallService(MS_CLIST_GETCONTACTICON,CurContact,0))); + li.ImageIndex := cli^.pfnGetContactIcon(CurContact); li.Data := Pointer(CurContact); end; -- cgit v1.2.3