diff options
Diffstat (limited to 'protocols/IcqOscarJ/icq_avatar.cpp')
-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);
}
|