From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- utils/mir_options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils/mir_options.cpp') 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); } } -- cgit v1.2.3