diff options
Diffstat (limited to 'plugins/AvatarHistory')
-rw-r--r-- | plugins/AvatarHistory/src/AvatarHistory.cpp | 4 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/utils.cpp | 2 |
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;
}
|