diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-12 13:56:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-12 13:56:04 +0000 |
commit | 7d9f85b1487f0f25d6d616d5cd9af61962af7781 (patch) | |
tree | ce48b29f0ae55f14df7cadcfce15dd9085a55221 /protocols/GTalkExt/src/avatar.cpp | |
parent | b3f02d29dda9fb6d0818ed47103160520ac1695d (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.cpp | 6 |
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);
}
|