summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/avatar.cpp
diff options
context:
space:
mode:
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;