summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus')
-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;