diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-08-07 16:33:05 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-08-07 16:33:05 +0000 |
commit | e69e2658a43412d4b3309738bf0a0e55b0183150 (patch) | |
tree | 8a0705589060e352dbc877a9fd46bacb8f8958dd /protocols | |
parent | ff7faa65f97479df9f27d51666afc8ac2cef0a22 (diff) |
fixed in folders registration
git-svn-id: http://svn.miranda-ng.org/main/trunk@1394 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/jabber_misc.cpp | 4 |
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!!!!!!!!!!!
} }
|