summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/avatars_simple.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_simple.cpp
parent5aa796c21ff8427774f96a84c2b0051f97d9bb63 (diff)
code cleaning
Diffstat (limited to 'plugins/Popup/src/avatars_simple.cpp')
-rw-r--r--plugins/Popup/src/avatars_simple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/avatars_simple.cpp b/plugins/Popup/src/avatars_simple.cpp
index 5b55467b7f..b887bb27fd 100644
--- a/plugins/Popup/src/avatars_simple.cpp
+++ b/plugins/Popup/src/avatars_simple.cpp
@@ -36,7 +36,7 @@ SimpleAvatar::SimpleAvatar(HANDLE h, bool bUseBitmap)
height = abs(bmp.bmHeight);
avNeedFree = true;
- av = new avatarCacheEntry;
+ av = new AVATARCACHEENTRY;
av->bmHeight = abs(bmp.bmHeight);
av->bmWidth = abs(bmp.bmWidth);
av->hbmPic = (HBITMAP)h;
@@ -46,7 +46,7 @@ SimpleAvatar::SimpleAvatar(HANDLE h, bool bUseBitmap)
if (h && ServiceExists(MS_AV_GETAVATARBITMAP)) {
avNeedFree = false;
- av = (avatarCacheEntry *)CallService(MS_AV_GETAVATARBITMAP, (WPARAM)h, 0);
+ av = (AVATARCACHEENTRY*)CallService(MS_AV_GETAVATARBITMAP, (WPARAM)h, 0);
if (av) {
if (av->hbmPic && (av->dwFlags&AVS_BITMAP_VALID) && !(av->dwFlags&AVS_HIDEONCLIST) && !(av->dwFlags&AVS_NOTREADY)) {
width = av->bmWidth;