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/AvatarHistory/src/AvatarHistory.cpp | 4 ++-- plugins/AvatarHistory/src/utils.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/AvatarHistory') diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index 9d5e39be70..b040b3d37c 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -227,8 +227,8 @@ static int ModulesLoaded(WPARAM, LPARAM) { mir_snwprintf(basedir, L"%s\\Avatars History", profilePath); - hFolder = FoldersRegisterCustomPathT(LPGEN("Avatars"), LPGEN("Avatar History"), - PROFILE_PATHT L"\\" CURRENT_PROFILET L"\\Avatars History"); + hFolder = FoldersRegisterCustomPathW(LPGEN("Avatars"), LPGEN("Avatar History"), + PROFILE_PATHW L"\\" CURRENT_PROFILEW L"\\Avatars History"); InitPopups(); diff --git a/plugins/AvatarHistory/src/utils.cpp b/plugins/AvatarHistory/src/utils.cpp index 9c86cfbc72..3dc10fa840 100644 --- a/plugins/AvatarHistory/src/utils.cpp +++ b/plugins/AvatarHistory/src/utils.cpp @@ -87,7 +87,7 @@ wchar_t* GetExtension(wchar_t *file) wchar_t* GetHistoryFolder(wchar_t *fn) { if (fn == nullptr) return nullptr; - FoldersGetCustomPathT(hFolder, fn, MAX_PATH, basedir); + FoldersGetCustomPathW(hFolder, fn, MAX_PATH, basedir); CreateDirectoryTreeW(fn); return fn; } -- cgit v1.2.3