summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/avatar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-12 13:56:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-12 13:56:04 +0000
commit7d9f85b1487f0f25d6d616d5cd9af61962af7781 (patch)
treece48b29f0ae55f14df7cadcfce15dd9085a55221 /protocols/GTalkExt/src/avatar.cpp
parentb3f02d29dda9fb6d0818ed47103160520ac1695d (diff)
GTalkExt: no need to renew pseudocontact's handle anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@8108 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/GTalkExt/src/avatar.cpp')
-rw-r--r--protocols/GTalkExt/src/avatar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/GTalkExt/src/avatar.cpp b/protocols/GTalkExt/src/avatar.cpp
index e3ded257f1..5b464b1ae3 100644
--- a/protocols/GTalkExt/src/avatar.cpp
+++ b/protocols/GTalkExt/src/avatar.cpp
@@ -150,7 +150,7 @@ void SetAvatar(MCONTACT hContact)
{
mir_cslock lck(g_csSetAvatar);
- avatarCacheEntry *ava = (avatarCacheEntry*)CallService(MS_AV_GETAVATARBITMAP, (WPARAM)hContact, 0);
+ avatarCacheEntry *ava = (avatarCacheEntry*)CallService(MS_AV_GETAVATARBITMAP, hContact, 0);
if (ava && GetFileAttributes(&ava->szFilename[0]) != INVALID_FILE_ATTRIBUTES)
return;
@@ -165,7 +165,7 @@ void SetAvatar(MCONTACT hContact)
return;
if (ava)
- CallService(MS_AV_SETAVATART, (WPARAM)hContact, (LPARAM)_T(""));
- CallService(MS_AV_SETAVATART, (WPARAM)hContact, (LPARAM)avaFile);
+ CallService(MS_AV_SETAVATART, hContact, (LPARAM)_T(""));
+ CallService(MS_AV_SETAVATART, hContact, (LPARAM)avaFile);
db_set_ts(hContact, SRMM_MODULE_NAME, SRMM_AVATAR_SETTING_NAME, avaFile);
}