summaryrefslogtreecommitdiff
path: root/plugins/Watrack/stat/stat_dlg.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/stat/stat_dlg.inc')
-rw-r--r--plugins/Watrack/stat/stat_dlg.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Watrack/stat/stat_dlg.inc b/plugins/Watrack/stat/stat_dlg.inc
index 64a9b97f7c..6a3747c476 100644
--- a/plugins/Watrack/stat/stat_dlg.inc
+++ b/plugins/Watrack/stat/stat_dlg.inc
@@ -185,7 +185,7 @@ begin
if buf[0]<>#0 then
begin
buf1[0]:=#0;
- CallService(MS_UTILS_PATHTORELATIVE,TWPARAM(@buf),TLPARAM(@buf1));
+ PathToRelative(buf,buf1);
StrDup(StatName,buf1);
end;
@@ -194,7 +194,7 @@ begin
if buf[0]<>#0 then
begin
buf1[0]:=#0;
- CallService(MS_UTILS_PATHTORELATIVE,TWPARAM(@buf),TLPARAM(@buf1));
+ PathToRelative(buf,buf1);
StrDup(ReportName,buf1);
end;
@@ -203,7 +203,7 @@ begin
if buf[0]<>#0 then
begin
buf1[0]:=#0;
- CallService(MS_UTILS_PATHTORELATIVE,TWPARAM(@buf),TLPARAM(@buf1));
+ PathToRelative(buf,buf1);
StrDup(TmplName,buf1);
end;