summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-08-07 16:33:05 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-08-07 16:33:05 +0000
commite69e2658a43412d4b3309738bf0a0e55b0183150 (patch)
tree8a0705589060e352dbc877a9fd46bacb8f8958dd
parentff7faa65f97479df9f27d51666afc8ac2cef0a22 (diff)
fixed in folders registration
git-svn-id: http://svn.miranda-ng.org/main/trunk@1394 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/JabberG/jabber_misc.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/JabberG/jabber_misc.cpp b/protocols/JabberG/jabber_misc.cpp
index 55c05e40a4..d47b2f5174 100644
--- a/protocols/JabberG/jabber_misc.cpp
+++ b/protocols/JabberG/jabber_misc.cpp
@@ -257,9 +257,7 @@ void CJabberProto::InitCustomFolders( void )
bInitDone = true;
if ( ServiceExists( MS_FOLDERS_REGISTER_PATH )) {
TCHAR AvatarsFolder[MAX_PATH];
- TCHAR* tmpPath = Utils_ReplaceVarsT( _T("%miranda_avatarcache%"));
- mir_sntprintf( AvatarsFolder, SIZEOF( AvatarsFolder ), _T("%s\\Jabber"), tmpPath );
- mir_free(tmpPath);
+ mir_sntprintf( AvatarsFolder, SIZEOF( AvatarsFolder ), _T("%%miranda_avatarcache%%\\Jabber"));
hJabberAvatarsFolder = FoldersRegisterCustomPathT( m_szModuleName, "Avatars", AvatarsFolder ); // title!!!!!!!!!!!
} }