diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-02 16:45:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-02 16:45:20 +0000 |
commit | 4cc24bc64c4de09208457b3e3a315cdc097e0ec1 (patch) | |
tree | 27b3dd24b26e2d6c5ce93e6545a03b77c1cef7b3 /protocols/FacebookRM/src/avatars.cpp | |
parent | 378f61eacc8338f52f1eea336c0f1226e33485bc (diff) |
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@3844 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/avatars.cpp')
-rw-r--r-- | protocols/FacebookRM/src/avatars.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/FacebookRM/src/avatars.cpp b/protocols/FacebookRM/src/avatars.cpp index 3285bd2e89..00e6845fb2 100644 --- a/protocols/FacebookRM/src/avatars.cpp +++ b/protocols/FacebookRM/src/avatars.cpp @@ -128,10 +128,8 @@ void FacebookProto::UpdateAvatarWorker(void *) std::tstring FacebookProto::GetAvatarFolder()
{
TCHAR path[MAX_PATH];
- if ( hAvatarFolder_ && FoldersGetCustomPathT(hAvatarFolder_, path, SIZEOF(path), _T("")) == 0 )
- return path;
-
- mir_sntprintf(path, SIZEOF(path), _T("%s\\%s"), (TCHAR*)VARST( _T("%miranda_avatarcache%")), m_tszUserName);
+ if ( !hAvatarFolder_ || FoldersGetCustomPathT(hAvatarFolder_, path, SIZEOF(path), _T("")))
+ mir_sntprintf(path, SIZEOF(path), _T("%s\\%s"), (TCHAR*)VARST( _T("%miranda_avatarcache%")), m_tszUserName);
return path;
}
|