summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/GTalkExt/GTalkExt.cpp2
-rw-r--r--protocols/GTalkExt/avatar.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/GTalkExt/GTalkExt.cpp b/protocols/GTalkExt/GTalkExt.cpp
index 811ea59daf..41dc6ee91d 100644
--- a/protocols/GTalkExt/GTalkExt.cpp
+++ b/protocols/GTalkExt/GTalkExt.cpp
@@ -82,7 +82,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
g_hPopupIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_POPUP));
pluginLink = link;
- mir_getLP(&pluginInfoEx);
+ mir_getLP(&pluginInfo);
if (
!mir_getXI(&xi) ||
!(hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded)) ||
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;