summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus
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/SendScreenshotPlus
parent240b4b12c1ec026be8a62b7ecd1f4702736b0e1b (diff)
Folders: old TCHAR helpers removed
Diffstat (limited to 'plugins/SendScreenshotPlus')
-rw-r--r--plugins/SendScreenshotPlus/src/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp
index 1e2faa997b..f976b778ce 100644
--- a/plugins/SendScreenshotPlus/src/Main.cpp
+++ b/plugins/SendScreenshotPlus/src/Main.cpp
@@ -72,7 +72,7 @@ wchar_t* GetCustomPath()
wchar_t* pszPath = Utils_ReplaceVarsW(L"%miranda_userdata%\\Screenshots");
if (m_hFolderScreenshot) {
wchar_t szPath[1024] = { 0 };
- FoldersGetCustomPathT(m_hFolderScreenshot, szPath, 1024, pszPath);
+ FoldersGetCustomPathW(m_hFolderScreenshot, szPath, 1024, pszPath);
mir_free(pszPath);
pszPath = mir_wstrdup(szPath);
}
@@ -242,7 +242,7 @@ int hook_ModulesLoaded(WPARAM, LPARAM)
CtrlButtonLoadModule();
// Folders plugin support
- m_hFolderScreenshot = FoldersRegisterCustomPathT(LPGEN("SendSS"), LPGEN("Screenshots"),
+ m_hFolderScreenshot = FoldersRegisterCustomPathW(LPGEN("SendSS"), LPGEN("Screenshots"),
PROFILE_PATHW L"\\" CURRENT_PROFILEW L"\\Screenshots");
return 0;
}