summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_services.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-11-23 18:22:46 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-11-23 18:22:46 +0000
commit2d8b55b9bfd482225e5ab80ad76d8373b8677617 (patch)
tree706cd5725b72388c4112d34b3a8aba61c16e422c /protocols/Skype/src/skype_services.cpp
parent1cdc1003e20312844ed02214301b5a6f48ea7eda (diff)
little bit better with avatars
git-svn-id: http://svn.miranda-ng.org/main/trunk@2452 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_services.cpp')
-rw-r--r--protocols/Skype/src/skype_services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp
index c9b140b4d0..c0a9135443 100644
--- a/protocols/Skype/src/skype_services.cpp
+++ b/protocols/Skype/src/skype_services.cpp
@@ -80,7 +80,7 @@ int __cdecl CSkypeProto::GetMyAvatar(WPARAM wParam, LPARAM lParam)
{
if (!wParam) return -2;
- wchar_t *path = this->GetContactAvatarFilePath();
+ wchar_t *path = this->GetContactAvatarFilePath(NULL);
if (path && !_waccess(path, 0))
{
::wcsncpy((wchar_t *)wParam, path, (int)lParam);
@@ -107,7 +107,7 @@ int __cdecl CSkypeProto::SetMyAvatar(WPARAM, LPARAM lParam)
::DeleteObject(avt);
}
- wchar_t *avatarPath = this->GetContactAvatarFilePath();
+ wchar_t *avatarPath = this->GetContactAvatarFilePath(NULL);
if (::wcscmp(path, avatarPath) && !::CopyFile(path, avatarPath, FALSE))
{
this->Log("Failed to copy our avatar to local storage.");