summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/GlobalSearch.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-04-26 14:54:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-04-26 14:54:58 +0000
commit2105de2e1be94d18a1cb5dfd6afcc33a788bc640 (patch)
treeb3685df860dc3fb265974d0cfb33ed9cabbcd36e /plugins/HistoryPlusPlus/GlobalSearch.pas
parent14b3e00732b7f8b23c3e194815a9a0d3a6f2723f (diff)
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
Diffstat (limited to 'plugins/HistoryPlusPlus/GlobalSearch.pas')
-rw-r--r--plugins/HistoryPlusPlus/GlobalSearch.pas4
1 files changed, 1 insertions, 3 deletions
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;