summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/avatar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-08 20:59:11 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-08 20:59:11 +0300
commit82a3bbaf034bc286665465d8904e6d1db52e5eb4 (patch)
tree2997e10a2632e4b2d49c5f89b687166e89c67516 /protocols/GTalkExt/src/avatar.cpp
parent5aa796c21ff8427774f96a84c2b0051f97d9bb63 (diff)
code cleaning
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 36c6f4ff6a..621df70a90 100644
--- a/protocols/GTalkExt/src/avatar.cpp
+++ b/protocols/GTalkExt/src/avatar.cpp
@@ -138,7 +138,7 @@ void SetAvatar(MCONTACT hContact)
{
mir_cslock lck(g_csSetAvatar);
- avatarCacheEntry *ava = (avatarCacheEntry*)CallService(MS_AV_GETAVATARBITMAP, hContact, 0);
+ AVATARCACHEENTRY *ava = (AVATARCACHEENTRY*)CallService(MS_AV_GETAVATARBITMAP, hContact, 0);
if (ava && GetFileAttributes(&ava->szFilename[0]) != INVALID_FILE_ATTRIBUTES)
return;
@@ -153,7 +153,7 @@ void SetAvatar(MCONTACT hContact)
return;
if (ava)
- CallService(MS_AV_SETAVATART, hContact, (LPARAM)L"");
- CallService(MS_AV_SETAVATART, hContact, (LPARAM)avaFile);
+ CallService(MS_AV_SETAVATARW, hContact, (LPARAM)L"");
+ CallService(MS_AV_SETAVATARW, hContact, (LPARAM)avaFile);
db_set_ws(hContact, SRMM_MODULE_NAME, SRMM_AVATAR_SETTING_NAME, avaFile);
}