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