diff options
Diffstat (limited to 'utils/mir_options.cpp')
-rw-r--r-- | utils/mir_options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/mir_options.cpp b/utils/mir_options.cpp index acf9ff9531..afdc407708 100644 --- a/utils/mir_options.cpp +++ b/utils/mir_options.cpp @@ -71,7 +71,7 @@ static void PathToRelative(TCHAR *pOut, size_t outSize, const TCHAR *pSrc) if (dbPath[0] == _T('\0')) { char tmp[1024]; CallService(MS_DB_GETPROFILEPATH, _countof(tmp), (LPARAM)tmp); - mir_sntprintf(dbPath, _T("%S\\"), tmp); + mir_sntprintf(dbPath, L"%S\\", tmp); } size_t len = mir_tstrlen(dbPath); @@ -89,10 +89,10 @@ static void PathToAbsolute(TCHAR *pOut, size_t outSize, const TCHAR *pSrc) if (dbPath[0] == _T('\0')) { char tmp[1024]; CallService(MS_DB_GETPROFILEPATH, _countof(tmp), (LPARAM)tmp); - mir_sntprintf(dbPath, _T("%S\\"), tmp); + mir_sntprintf(dbPath, L"%S\\", tmp); } - mir_sntprintf(pOut, outSize, _T("%s%s"), dbPath, pSrc); + mir_sntprintf(pOut, outSize, L"%s%s", dbPath, pSrc); } } |