diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-10 17:13:35 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-10 17:13:35 +0000 |
commit | 7e5ea8ede78268b68b86f3f6d279deaf24593fb2 (patch) | |
tree | d161f74be8622f9b1716e9e24d8d309fa568a00a /protocols/Tox/src/tox_account.cpp | |
parent | 40ca3f169e61d1273d47ddcee277bbc5bcb6ffdf (diff) |
fixed read\write tox profile
git-svn-id: http://svn.miranda-ng.org/main/trunk@10146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_account.cpp')
-rw-r--r-- | protocols/Tox/src/tox_account.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp index c63328f6ac..a406d8d55c 100644 --- a/protocols/Tox/src/tox_account.cpp +++ b/protocols/Tox/src/tox_account.cpp @@ -54,7 +54,7 @@ void CToxProto::ConnectionThread(void*) isConnected = true;
char dataPath[MAX_PATH];
- mir_snprintf(dataPath, MAX_PATH, "%s\\%s.tox", VARS("%miranda_profile%\\%miranda_profilename%"), m_tszUserName);
+ mir_snprintf(dataPath, MAX_PATH, "%s\\%s.tox", VARS("%miranda_profile%\\%miranda_profilename%"), _T2A(m_tszUserName));
SaveToxData(dataPath);
|