summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-07-20 19:53:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-07-20 19:53:51 +0300
commit542182c9d353cba717ce7183690abc6476b3f448 (patch)
treeccfce2f70951e15eebee3003e792798950da6790 /plugins/Utils.pas
parent1c39cba6fea51df470809b5a3d28e3cd3836391d (diff)
Pascal: fix for missing service call
Diffstat (limited to 'plugins/Utils.pas')
-rw-r--r--plugins/Utils.pas/cbex.pas2
-rw-r--r--plugins/Utils.pas/mirevents.pas2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Utils.pas/cbex.pas b/plugins/Utils.pas/cbex.pas
index 7c05478ae9..4af51b3682 100644
--- a/plugins/Utils.pas/cbex.pas
+++ b/plugins/Utils.pas/cbex.pas
@@ -47,7 +47,7 @@ begin
begin
if cnt=0 then
begin
- ImageList_AddIcon(il,CallService(MS_SKIN_LOADICON,SKINICON_OTHER_SMALLDOT,0));
+ ImageList_AddIcon(il,Skin_LoadIcon(SKINICON_OTHER_SMALLDOT,0));
cbei.pszText:=TranslateW('None');
end
else
diff --git a/plugins/Utils.pas/mirevents.pas b/plugins/Utils.pas/mirevents.pas
index 5a92745602..1b5f1e3573 100644
--- a/plugins/Utils.pas/mirevents.pas
+++ b/plugins/Utils.pas/mirevents.pas
@@ -437,7 +437,7 @@ begin
else
idx:=0;
end;
- result:=CallService(MS_SKIN_LOADICON,idx,0);
+ result:=Skin_LoadIcon(idx,0);
end;
end.