summaryrefslogtreecommitdiff
path: root/utils/mir_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mir_options.cpp')
-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);
}