From 9b7ffb84428971f27a6b6e71ff927b2bf240fca3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Oct 2012 21:47:46 +0000 Subject: fix for ODPF_DONTTRANSLATE flag in options git-svn-id: http://svn.miranda-ng.org/main/trunk@2005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clcpaint.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_modern/src/modern_clcpaint.cpp') diff --git a/plugins/Clist_modern/src/modern_clcpaint.cpp b/plugins/Clist_modern/src/modern_clcpaint.cpp index cd81b5410b..ad023adf50 100644 --- a/plugins/Clist_modern/src/modern_clcpaint.cpp +++ b/plugins/Clist_modern/src/modern_clcpaint.cpp @@ -1711,11 +1711,11 @@ void CLCPaint::_DrawStatusIcon( struct ClcContact * Drawing, struct ClcData *dat int status = GetContactCachedStatus( Drawing->hContact ); if ( status < ID_STATUS_OFFLINE ) status = ID_STATUS_OFFLINE; else if ( status>ID_STATUS_OUTTOLUNCH ) status = ID_STATUS_ONLINE; - ske_ImageList_DrawEx( g_himlCListClc, HIWORD( iImage ), hdcMem, - x, y, cx, cy, colorbg, colorfg, mode ); - if ( dat->drawOverlayedStatus&2 ) //draw overlay + ske_ImageList_DrawEx(g_himlCListClc, HIWORD( iImage ), hdcMem, + x, y, cx, cy, colorbg, colorfg, mode); + if (dat->drawOverlayedStatus & 2) //draw overlay ske_ImageList_DrawEx( hAvatarOverlays, g_pStatusOverlayIcons[status-ID_STATUS_OFFLINE].listID, hdcMem, - x, y, cx, cy, colorbg, colorfg, mode ); + x, y, cx, cy, colorbg, colorfg, mode ); } else { -- cgit v1.2.3