diff options
Diffstat (limited to 'plugins/Utils.pas/mirutils.pas')
-rw-r--r-- | plugins/Utils.pas/mirutils.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Utils.pas/mirutils.pas b/plugins/Utils.pas/mirutils.pas index dee3bbdc87..bbedeb252b 100644 --- a/plugins/Utils.pas/mirutils.pas +++ b/plugins/Utils.pas/mirutils.pas @@ -299,7 +299,7 @@ var altfilename,filename:array [0..127] of AnsiChar;
p:PAnsiChar;
begin
- CallService(MS_DB_GETPROFILEPATH,300,lparam(@profilepath));
+ Profile_GetPathA(300,@profilepath);
p:=StrEnd(profilepath);
p^:='\'; inc(p);
p^:=#0;
@@ -309,7 +309,7 @@ begin begin
StrCopy(filename,prefix);
p:=StrEnd(filename);
- CallService(MS_DB_GETPROFILENAME,SizeOf(filename)-integer(p-PAnsiChar(@filename)),lparam(p));
+ Profile_GetNameA(Sizeof(filename)-integer(p-PAnsiChar(@filename)),p);
ChangeExt(filename,ext);
result:=CheckPath(filename,profilepath,path);
end
|