summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-06-03 14:02:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-06-03 14:02:02 +0300
commitc1881274c8c431014368f4f5b9b49397e6c579f0 (patch)
tree35534e17812aab00ec9e63b801ccb99a4ee221e9 /plugins/AvatarHistory
parent240b4b12c1ec026be8a62b7ecd1f4702736b0e1b (diff)
Folders: old TCHAR helpers removed
Diffstat (limited to 'plugins/AvatarHistory')
-rw-r--r--plugins/AvatarHistory/src/AvatarHistory.cpp4
-rw-r--r--plugins/AvatarHistory/src/utils.cpp2
2 files changed, 3 insertions, 3 deletions
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;
}