summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Utils.pas')
-rw-r--r--plugins/Utils.pas/protocols.pas6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Utils.pas/protocols.pas b/plugins/Utils.pas/protocols.pas
index bb57e337ad..f4526a6c09 100644
--- a/plugins/Utils.pas/protocols.pas
+++ b/plugins/Utils.pas/protocols.pas
@@ -226,8 +226,7 @@ begin
begin
SetWindowLongPtrW(list,GWL_STYLE,
GetWindowLongPtrW(list,GWL_STYLE) or LVS_SHAREIMAGELISTS);
- ListView_SetImageList(list,
- CallService(MS_CLIST_GETICONSIMAGELIST,0,0),LVSIL_SMALL);
+ ListView_SetImageList(list,Clist_GetImageList,LVSIL_SMALL);
lvc.mask:=LVCF_FMT+LVCF_IMAGE
end
else
@@ -309,8 +308,7 @@ begin
begin
SetWindowLongPtrW(list,GWL_STYLE,
GetWindowLongPtrW(list,GWL_STYLE) or LVS_SHAREIMAGELISTS);
- ListView_SetImageList(list,
- CallService(MS_CLIST_GETICONSIMAGELIST,0,0),LVSIL_SMALL);
+ ListView_SetImageList(list,Clist_GetImageList,LVSIL_SMALL);
lvc.mask:=LVCF_FMT+LVCF_IMAGE
end
else