diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-11-24 17:01:04 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-11-24 17:01:04 +0000 |
commit | b56c4ba2c45b62c1c9c175933d2ffc26c61bf6f3 (patch) | |
tree | 436492a4b8d972b6ce2c36fbad223e8b48006792 /protocols/Skype/src/skype_services.cpp | |
parent | 80b73a8ba605f886dad2a17da12d99cc66e00413 (diff) |
more correct work with folders
git-svn-id: http://svn.miranda-ng.org/main/trunk@2466 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_services.cpp')
-rw-r--r-- | protocols/Skype/src/skype_services.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp index c0a9135443..09aa2f29f2 100644 --- a/protocols/Skype/src/skype_services.cpp +++ b/protocols/Skype/src/skype_services.cpp @@ -20,8 +20,8 @@ int __cdecl CSkypeProto::GetAvatarInfo(WPARAM, LPARAM lParam) wchar_t *sid = this->GetSettingString(pai->hContact, "sid");
if (sid)
{
- wchar_t *path = this->GetContactAvatarFilePath(sid);
- if (path && !_waccess(path, 0))
+ wchar_t *path = this->GetContactAvatarFilePath(pai->hContact);
+ if (path && !_waccess(path, 0))
{
::wcsncpy(pai->filename, path, SIZEOF(pai->filename));
pai->format = PA_FORMAT_JPEG;
|