diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-02 11:30:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-02 11:30:23 +0000 |
commit | a0bd83dbb96a4e45005fdab38fb7b3a17cdcb012 (patch) | |
tree | 236dd905cf5d45070a808bf5ea0b8c80f4362877 /protocols/FacebookRM/src/proto.cpp | |
parent | 8ef40f0bd018c6f9295977c206714db8d1e6159c (diff) |
fixed for various Folders registration quirks
git-svn-id: http://svn.miranda-ng.org/main/trunk@3829 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index b50758c496..3379aed18f 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -70,9 +70,7 @@ FacebookProto::FacebookProto(const char* proto_name,const TCHAR* username) SkinAddNewSoundExT( "NewsFeed", m_tszUserName, LPGENT( "News Feed" ));
SkinAddNewSoundExT( "OtherEvent", m_tszUserName, LPGENT( "Other Event" ));
- TCHAR *profile = Utils_ReplaceVarsT( _T("%miranda_avatarcache%"));
- def_avatar_folder_ = std::tstring(profile) + _T("\\") + m_tszUserName;
- mir_free(profile);
+ def_avatar_folder_ = std::tstring( VARST( _T("%miranda_avatarcache%"))) + _T("\\") + m_tszUserName;
hAvatarFolder_ = FoldersRegisterCustomPathT(m_szModuleName, "Avatars", def_avatar_folder_.c_str());
// Set all contacts offline -- in case we crashed
|