summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_aniavatars.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-06-01 11:02:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-06-01 11:02:25 +0000
commitfd23c78f121f3f1d07d97d657c617b46b25c614f (patch)
tree6fc12a82ed0e537228e6c712d0c571afcdf10e1c /plugins/Clist_modern/src/modern_aniavatars.cpp
parentea68d4474bb7329a5e59e0388b88155b96f31f7c (diff)
- finally clist_modern's own rebuild all function got wiped out;
- massive removal of duplicate code; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@16894 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_aniavatars.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_aniavatars.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_aniavatars.cpp b/plugins/Clist_modern/src/modern_aniavatars.cpp
index 3a97deb84a..c6d731ae1f 100644
--- a/plugins/Clist_modern/src/modern_aniavatars.cpp
+++ b/plugins/Clist_modern/src/modern_aniavatars.cpp
@@ -810,7 +810,7 @@ int AniAva_AddAvatar(MCONTACT hContact, TCHAR * szFilename, int width, int heigt
else
pavi->dwAvatarUniqId = _AniAva_LoadAvatarFromImage(szFilename, width, heigth, &avii);
if (hwnd)
- SendMessage(hwnd, AAM_SETAVATAR, (WPARAM)&avii, (LPARAM)0);
+ SendMessage(hwnd, AAM_SETAVATAR, (WPARAM)&avii, 0);
pavi->ObjectSize = avii.szSize;
return MAKELONG(avii.szSize.cx, avii.szSize.cy);
}
@@ -925,7 +925,7 @@ int AniAva_SetAvatarPos(MCONTACT hContact, RECT *rc, int overlayIdx, BYTE bAlpha
ANIAVATARIMAGEINFO avii = { 0 };
if (_AniAva_GetAvatarImageInfo(pai->dwAvatarUniqId, &avii))
- SendMessage(pai->hWindow, AAM_SETAVATAR, (WPARAM)&avii, (LPARAM)0);
+ SendMessage(pai->hWindow, AAM_SETAVATAR, (WPARAM)&avii, 0);
}
api->bAlpha = bAlpha;
api->idxOverlay = overlayIdx;