summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src
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/MirOTR/src
parent240b4b12c1ec026be8a62b7ecd1f4702736b0e1b (diff)
Folders: old TCHAR helpers removed
Diffstat (limited to 'plugins/MirOTR/src')
-rw-r--r--plugins/MirOTR/src/options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirOTR/src/options.cpp b/plugins/MirOTR/src/options.cpp
index c75f71a93a..33847d434f 100644
--- a/plugins/MirOTR/src/options.cpp
+++ b/plugins/MirOTR/src/options.cpp
@@ -8,7 +8,7 @@ wchar_t g_fingerprint_store_filename[MAX_PATH];
wchar_t g_instag_filename[MAX_PATH];
HANDLE hPATH_MIROTR;
Options options;
-#define DATA_DIRECTORY MIRANDA_USERDATAT L"\\" _A2W(MODULENAME)
+#define DATA_DIRECTORY MIRANDA_USERDATAW L"\\" _A2W(MODULENAME)
struct PROTOREGENKEYOPTIONS {
HWND refresh;
@@ -29,7 +29,7 @@ void SetFilenames(const wchar_t *path)
int FoldersChanged(WPARAM, LPARAM)
{
wchar_t path[MAX_PATH];
- if ( FoldersGetCustomPathT(hPATH_MIROTR, path, _countof(path), L""))
+ if ( FoldersGetCustomPathW(hPATH_MIROTR, path, _countof(path), L""))
SetFilenames(VARSW(DATA_DIRECTORY));
else
SetFilenames(path);
@@ -40,7 +40,7 @@ int FoldersChanged(WPARAM, LPARAM)
void LoadFilenames()
{
- if (hPATH_MIROTR = FoldersRegisterCustomPathT("OTR", LPGEN("Private Data"), DATA_DIRECTORY)) {
+ if (hPATH_MIROTR = FoldersRegisterCustomPathW("OTR", LPGEN("Private Data"), DATA_DIRECTORY)) {
HookEvent(ME_FOLDERS_PATH_CHANGED, FoldersChanged);
// get the path - above are only defaults - there may be a different value in the db