diff options
-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);
}
}
|