From c1881274c8c431014368f4f5b9b49397e6c579f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Jun 2019 14:02:02 +0300 Subject: Folders: old TCHAR helpers removed --- plugins/PluginUpdater/src/Events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/PluginUpdater') diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 4cde7317ff..3e734f0a0c 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, L""); + FoldersGetCustomPathW(hPluginUpdaterFolder, g_tszRoot, MAX_PATH, L""); size_t len = wcslen(g_tszRoot); if (g_tszRoot[len-1] == '\\' || g_tszRoot[len-1] == '/') g_tszRoot[len-1] = 0; @@ -46,7 +46,7 @@ void EmptyFolder() int ModulesLoaded(WPARAM, LPARAM) { - if (hPluginUpdaterFolder = FoldersRegisterCustomPathT(MODULEA, LPGEN("Plugin Updater"), MIRANDA_PATHW L"\\" DEFAULT_UPDATES_FOLDER)) { + if (hPluginUpdaterFolder = FoldersRegisterCustomPathW(MODULEA, LPGEN("Plugin Updater"), MIRANDA_PATHW L"\\" DEFAULT_UPDATES_FOLDER)) { HookEvent(ME_FOLDERS_PATH_CHANGED, OnFoldersChanged); OnFoldersChanged(0, 0); } -- cgit v1.2.3