diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-08-07 19:13:00 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-08-07 19:13:00 +0000 |
commit | 5a3fa5310ba898ce73f2c05e70cfaabaeb6b624d (patch) | |
tree | 17eda96aef35277abe4094e118fbaf41c82b660c /protocols/Yahoo/avatar.cpp | |
parent | c36f0cabd103e90760661dbf9f78d920103c6ead (diff) |
fixed in folders registration
git-svn-id: http://svn.miranda-ng.org/main/trunk@1396 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/avatar.cpp')
-rw-r--r-- | protocols/Yahoo/avatar.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Yahoo/avatar.cpp b/protocols/Yahoo/avatar.cpp index 3f263bf4c5..a838e24ea1 100644 --- a/protocols/Yahoo/avatar.cpp +++ b/protocols/Yahoo/avatar.cpp @@ -625,10 +625,8 @@ void CYahooProto::InitCustomFolders(void) if ( ServiceExists( MS_FOLDERS_REGISTER_PATH ))
{
TCHAR AvatarsFolder[MAX_PATH];
- TCHAR *tmpPath = Utils_ReplaceVarsT( _T("%miranda_avatarcache%"));
- mir_sntprintf(AvatarsFolder, MAX_PATH, _T("%s\\") _T(TCHAR_STR_PARAM), tmpPath, m_szModuleName);
+ mir_sntprintf(AvatarsFolder, MAX_PATH, _T("%%miranda_avatarcache%%\\") _T(TCHAR_STR_PARAM), m_szModuleName);
hYahooAvatarsFolder = FoldersRegisterCustomPathT(m_szModuleName, "Avatars", AvatarsFolder);
- mir_free(tmpPath);
}
}
|