summaryrefslogtreecommitdiff
path: root/utils
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 /utils
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 'utils')
-rw-r--r--utils/mir_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mir_options.cpp b/utils/mir_options.cpp
index 71f9ae0ea9..20ae7d1f9f 100644
--- a/utils/mir_options.cpp
+++ b/utils/mir_options.cpp
@@ -69,7 +69,7 @@ static void PathToRelative(wchar_t *pOut, size_t outSize, const wchar_t *pSrc)
else {
if (dbPath[0] == '\0') {
char tmp[1024];
- CallService(MS_DB_GETPROFILEPATH, _countof(tmp), (LPARAM)tmp);
+ Profile_GetPathA(_countof(tmp), tmp);
mir_snwprintf(dbPath, L"%S\\", tmp);
}
@@ -87,7 +87,7 @@ static void PathToAbsolute(wchar_t *pOut, size_t outSize, const wchar_t *pSrc)
else {
if (dbPath[0] == '\0') {
char tmp[1024];
- CallService(MS_DB_GETPROFILEPATH, _countof(tmp), (LPARAM)tmp);
+ Profile_GetPathA(_countof(tmp), tmp);
mir_snwprintf(dbPath, L"%S\\", tmp);
}