summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt
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
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')
-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;