diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-13 17:11:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-13 17:11:58 +0000 |
commit | f51995e13679a37851baef8e7f52f2d993cbc7c1 (patch) | |
tree | 25ccd03cf2dc4b897cc0dc6fcbe4cc78ddb122c7 /utils/mir_options.cpp | |
parent | fe1e8456d2488095f409a4f2d38b7251abdedccf (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/mir_options.cpp')
-rw-r--r-- | utils/mir_options.cpp | 4 |
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); } |