summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/mirutils.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
commitf51995e13679a37851baef8e7f52f2d993cbc7c1 (patch)
tree25ccd03cf2dc4b897cc0dc6fcbe4cc78ddb122c7 /plugins/Utils.pas/mirutils.pas
parentfe1e8456d2488095f409a4f2d38b7251abdedccf (diff)
mode old database junk to die
git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils.pas/mirutils.pas')
-rw-r--r--plugins/Utils.pas/mirutils.pas4
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