From fd23c78f121f3f1d07d97d657c617b46b25c614f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 1 Jun 2016 11:02:25 +0000 Subject: - 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 --- plugins/Clist_modern/src/modern_aniavatars.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_modern/src/modern_aniavatars.cpp') 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; -- cgit v1.2.3