summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/avatar.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-18 21:25:08 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-18 21:25:08 +0000
commit5e4ecb158a9835d79536326835287d49f22d65f1 (patch)
treef2ebb66a27170f790fbd7893d81b07f7fb0ea723 /protocols/GTalkExt/avatar.cpp
parent6dfdccb3decd016ced438309d326547e5244604e (diff)
compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@56 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/avatar.cpp')
-rw-r--r--protocols/GTalkExt/avatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/GTalkExt/avatar.cpp b/protocols/GTalkExt/avatar.cpp
index 3f98188197..086a4641d1 100644
--- a/protocols/GTalkExt/avatar.cpp
+++ b/protocols/GTalkExt/avatar.cpp
@@ -186,7 +186,7 @@ void SetAvatar(HANDLE hContact)
EnterCriticalSection(&g_csSetAvatar);
__try {
avatarCacheEntry *ava = (avatarCacheEntry*)CallService(MS_AV_GETAVATARBITMAP, (WPARAM)hContact, 0);
- if (ava && GetFileAttributesA(&ava->szFilename[0]) != INVALID_FILE_ATTRIBUTES)
+ if (ava && GetFileAttributes(&ava->szFilename[0]) != INVALID_FILE_ATTRIBUTES)
return;
HANDLE hFile;