From c1881274c8c431014368f4f5b9b49397e6c579f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Jun 2019 14:02:02 +0300 Subject: Folders: old TCHAR helpers removed --- plugins/MirOTR/src/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/MirOTR/src') 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 -- cgit v1.2.3