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/PluginUpdater/src/Events.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/PluginUpdater/src/Events.cpp') diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 41e730b449..1afbe741cc 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -23,7 +23,7 @@ HANDLE hPluginUpdaterFolder; int OnFoldersChanged(WPARAM, LPARAM) { - FoldersGetCustomPathT(hPluginUpdaterFolder, g_tszRoot, MAX_PATH, _T("")); + FoldersGetCustomPathT(hPluginUpdaterFolder, g_tszRoot, MAX_PATH, L""); size_t len = _tcslen(g_tszRoot); if (g_tszRoot[len-1] == '\\' || g_tszRoot[len-1] == '/') g_tszRoot[len-1] = 0; @@ -36,21 +36,21 @@ void EmptyFolder() NULL, FO_DELETE, g_tszRoot, - _T(""), + L"", FOF_NOERRORUI | FOF_SILENT | FOF_NOCONFIRMATION, false, 0, - _T("") }; + L"" }; SHFileOperation(&file_op); } int ModulesLoaded(WPARAM, LPARAM) { - if (hPluginUpdaterFolder = FoldersRegisterCustomPathT(MODULEA, LPGEN("Plugin Updater"), MIRANDA_PATHT _T("\\")DEFAULT_UPDATES_FOLDER)) { + if (hPluginUpdaterFolder = FoldersRegisterCustomPathT(MODULEA, LPGEN("Plugin Updater"), MIRANDA_PATHW L"\\" DEFAULT_UPDATES_FOLDER)) { HookEvent(ME_FOLDERS_PATH_CHANGED, OnFoldersChanged); OnFoldersChanged(0, 0); } - else lstrcpyn(g_tszRoot, VARST( _T("%miranda_path%\\" DEFAULT_UPDATES_FOLDER)), _countof(g_tszRoot)); + else lstrcpyn(g_tszRoot, VARST(L"%miranda_path%\\" DEFAULT_UPDATES_FOLDER), _countof(g_tszRoot)); #if MIRANDA_VER >= 0x0A00 if (ServiceExists(MS_ASSOCMGR_ADDNEWURLTYPE)) -- cgit v1.2.3