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