summaryrefslogtreecommitdiff
path: root/plugins/Watrack/waticons.pas
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-01-16 03:11:48 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-01-16 03:11:48 +0000
commitde34b251b442cdf72b13c407d6b60c343c123bb3 (patch)
treea2e05db9606405b78b949ccc67860bb2096f1f5e /plugins/Watrack/waticons.pas
parent74220939c1156067d46ccb85cbc307737cd5a244 (diff)
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@7674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack/waticons.pas')
-rw-r--r--plugins/Watrack/waticons.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Watrack/waticons.pas b/plugins/Watrack/waticons.pas
index 94b511767e..b6a9bbc2b4 100644
--- a/plugins/Watrack/waticons.pas
+++ b/plugins/Watrack/waticons.pas
@@ -51,13 +51,13 @@ var
begin
result:=true;
sid.szDefaultFile.a:='icons\'+ICOCtrlName;
- CallService(MS_UTILS_PATHTOABSOLUTE,wparam(sid.szDefaultFile),lparam(@buf));
+ PathToAbsolute(sid.szDefaultFile.a,buf);
hIconDLL:=LoadLibraryA(buf);
if hIconDLL=0 then // not found
begin
sid.szDefaultFile.a:='plugins\'+ICOCtrlName;
- CallService(MS_UTILS_PATHTOABSOLUTE,wparam(sid.szDefaultFile),lparam(@buf));
+ PathToAbsolute(sid.szDefaultFile.a,buf);
hIconDLL:=LoadLibraryA(buf);
end;
@@ -142,13 +142,13 @@ begin
if not IconsLoaded then
begin
path:='icons\'+ICOCtrlName;
- CallService(MS_UTILS_PATHTOABSOLUTE,wparam(path),lparam(@buf));
+ PathToAbsolute(path,buf);
hIconDLL:=LoadLibraryA(buf);
if hIconDLL=0 then // not found
begin
sid.szDefaultFile.a:='plugins\'+ICOCtrlName;
- CallService(MS_UTILS_PATHTOABSOLUTE,wparam(path),lparam(@buf));
+ PathToAbsolute(path,buf);
hIconDLL:=LoadLibraryA(buf);
end;