diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:50:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-27 11:50:07 +0000 |
commit | ddd1af0fdf37364c9472faedad941b4cc5f1b465 (patch) | |
tree | d4eb46f481a47b6e16e40b39860e830e40f9dbcf /plugins/MirOTR/src/options.cpp | |
parent | cc3be4384048697fe9b7716c11b7bd726b9ca650 (diff) |
<tchar.h> removed from <m_system.h>
git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/options.cpp')
-rw-r--r-- | plugins/MirOTR/src/options.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/MirOTR/src/options.cpp b/plugins/MirOTR/src/options.cpp index 246dbf71e9..a3a4d04ec0 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"\\" _T(MODULENAME) +#define DATA_DIRECTORY MIRANDA_USERDATAT L"\\" _A2W(MODULENAME) struct PROTOREGENKEYOPTIONS { HWND refresh; @@ -21,16 +21,16 @@ void SetFilenames(const wchar_t *path) return; CreateDirectoryTreeT(path); - mir_sntprintf(g_private_key_filename, L"%s\\" _T(PRIVATE_KEY_FILENAME), path); - mir_sntprintf(g_fingerprint_store_filename, L"%s\\" _T(FINGERPRINT_STORE_FILENAME), path); - mir_sntprintf(g_instag_filename, L"%s\\" _T(INSTAG_FILENAME), path); + mir_sntprintf(g_private_key_filename, L"%s\\" _A2W(PRIVATE_KEY_FILENAME), path); + mir_sntprintf(g_fingerprint_store_filename, L"%s\\" _A2W(FINGERPRINT_STORE_FILENAME), path); + mir_sntprintf(g_instag_filename, L"%s\\" _A2W(INSTAG_FILENAME), path); } int FoldersChanged(WPARAM, LPARAM) { wchar_t path[MAX_PATH]; if ( FoldersGetCustomPathT(hPATH_MIROTR, path, _countof(path), L"")) - SetFilenames( VARST(DATA_DIRECTORY)); + SetFilenames(VARST(DATA_DIRECTORY)); else SetFilenames(path); |