From c36f0cabd103e90760661dbf9f78d920103c6ead Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 7 Aug 2012 16:45:03 +0000 Subject: fixed in folders registration git-svn-id: http://svn.miranda-ng.org/main/trunk@1395 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/icq_avatar.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/IcqOscarJ') 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); } -- cgit v1.2.3