diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-08-07 16:45:03 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-08-07 16:45:03 +0000 |
commit | c36f0cabd103e90760661dbf9f78d920103c6ead (patch) | |
tree | 343d6ff839ce05039c3fa8dd022a6a61133d105b /protocols/IcqOscarJ | |
parent | e69e2658a43412d4b3309738bf0a0e55b0183150 (diff) |
fixed in folders registration
git-svn-id: http://svn.miranda-ng.org/main/trunk@1395 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r-- | protocols/IcqOscarJ/icq_avatar.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/icq_avatar.cpp b/protocols/IcqOscarJ/icq_avatar.cpp index 570a1bc440..6e61f2bc0d 100644 --- a/protocols/IcqOscarJ/icq_avatar.cpp +++ b/protocols/IcqOscarJ/icq_avatar.cpp @@ -92,9 +92,7 @@ void CIcqProto::InitAvatars() if (ServiceExists(MS_FOLDERS_REGISTER_PATH))
{ // check if it does make sense
TCHAR tszPath[MAX_PATH * 2];
- TCHAR *tmpPath = Utils_ReplaceVarsT(_T("%miranda_avatarcache%"));
- null_snprintf(tszPath, MAX_PATH * 2, _T("%s\\") _T(TCHAR_STR_PARAM) _T("\\"), tmpPath, m_szModuleName);
- mir_free(tmpPath);
+ null_snprintf(tszPath, MAX_PATH * 2, _T("%%miranda_avatarcache%%\\") _T(TCHAR_STR_PARAM) _T("\\"), m_szModuleName);
hAvatarsFolder = FoldersRegisterCustomPathT(m_szModuleName, "Avatars Cache", tszPath);
}
|