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/Popup/src/main.cpp | 2 +- plugins/Popup/src/skin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Popup/src') diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index 05923e9312..717f160596 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -247,7 +247,7 @@ static int ModulesLoaded(WPARAM, LPARAM) // hook TopToolBar HookEvent(ME_TTB_MODULELOADED, TTBLoaded); // Folder plugin support - folderId = FoldersRegisterCustomPathT(LPGEN("Skins"), LPGEN("Popup Plus"), MIRANDA_PATHT L"\\Skins\\Popup"); + folderId = FoldersRegisterCustomPathW(LPGEN("Skins"), LPGEN("Popup Plus"), MIRANDA_PATHW L"\\Skins\\Popup"); // load skin skins.load(); const PopupSkin *skin; diff --git a/plugins/Popup/src/skin.cpp b/plugins/Popup/src/skin.cpp index 477bc9f533..001fdc96d1 100644 --- a/plugins/Popup/src/skin.cpp +++ b/plugins/Popup/src/skin.cpp @@ -1098,7 +1098,7 @@ bool Skins::load() wchar_t dir[1024] = { '\0' }; if (ServiceExists(MS_FOLDERS_GET_PATH)) { - if (FoldersGetCustomPathT(folderId, dir, _countof(dir), nullptr) != 0) + if (FoldersGetCustomPathW(folderId, dir, _countof(dir), nullptr) != 0) return false; } else { -- cgit v1.2.3