From f51995e13679a37851baef8e7f52f2d993cbc7c1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 13 Sep 2016 17:11:58 +0000 Subject: mode old database junk to die git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- utils/mir_options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/mir_options.cpp') 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); } -- cgit v1.2.3