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 --- plugins/ContextHelp/src/datastore.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/ContextHelp/src/datastore.cpp') diff --git a/plugins/ContextHelp/src/datastore.cpp b/plugins/ContextHelp/src/datastore.cpp index 40df51eb08..a35ec9b9b3 100644 --- a/plugins/ContextHelp/src/datastore.cpp +++ b/plugins/ContextHelp/src/datastore.cpp @@ -139,7 +139,7 @@ static void LoaderThread(void *arg) p = _tcsrchr(szDir, _T('\\')); if (p) *p = _T('\0'); - mir_sntprintf(szSearch, _T("%s\\helppack_*.txt"), szDir); + mir_sntprintf(szSearch, L"%s\\helppack_*.txt", szDir); hFind = FindFirstFile(szSearch, &wfd); if (hFind != INVALID_HANDLE_VALUE) { @@ -148,7 +148,7 @@ static void LoaderThread(void *arg) continue; if (lstrlen(wfd.cFileName) < 4 || wfd.cFileName[lstrlen(wfd.cFileName) - 4] != _T('.')) continue; - mir_sntprintf(szSearch, _T("%s\\%s"), szDir, wfd.cFileName); + mir_sntprintf(szSearch, L"%s\\%s", szDir, wfd.cFileName); success = 1; break; } while (FindNextFile(hFind, &wfd)); @@ -161,7 +161,7 @@ static void LoaderThread(void *arg) return; } - fp = _tfopen(szSearch, _T("rt")); + fp = _tfopen(szSearch, L"rt"); if (fp == NULL) { if (!Miranda_Terminated() && IsWindow(hwndHelpDlg)) PostMessage(hwndHelpDlg, M_HELPLOADFAILED, 0, (LPARAM)dtsp->hwndCtl); -- cgit v1.2.3