summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/avatars.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 /plugins/Popup/src/avatars.cpp
parent5aa796c21ff8427774f96a84c2b0051f97d9bb63 (diff)
code cleaning
Diffstat (limited to 'plugins/Popup/src/avatars.cpp')
-rw-r--r--plugins/Popup/src/avatars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/avatars.cpp b/plugins/Popup/src/avatars.cpp
index 73bd43ede4..d099ddbd73 100644
--- a/plugins/Popup/src/avatars.cpp
+++ b/plugins/Popup/src/avatars.cpp
@@ -27,7 +27,7 @@ PopupAvatar *PopupAvatar::create(MCONTACT hContact)
{
if (hContact) {
if (ServiceExists(MS_AV_GETAVATARBITMAP)) {
- avatarCacheEntry *av = (avatarCacheEntry *)CallService(MS_AV_GETAVATARBITMAP, hContact, 0);
+ AVATARCACHEENTRY *av = (AVATARCACHEENTRY*)CallService(MS_AV_GETAVATARBITMAP, hContact, 0);
if (av && (mir_wstrlen(av->szFilename) > 4))
if (!mir_wstrcmpi(av->szFilename + mir_wstrlen(av->szFilename) - 4, L".gif"))
if (db_get_b(NULL, MODULNAME, "EnableGifAnimation", 1) && GDIPlus_IsAnimatedGIF(av->szFilename))