summaryrefslogtreecommitdiff
path: root/plugins/Clist/clcpaint.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-23 16:49:09 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-23 16:49:09 +0000
commit2f56dcad8e7dccc129765a24a96861f8ce5ffeea (patch)
tree8bbdb63f3f31562f5186d134eb2b659c8e8e286d /plugins/Clist/clcpaint.cpp
parent4e61d557376ab4ec02e061fb4c128b25b3bd61a1 (diff)
Clist:
plusified git-svn-id: http://svn.miranda-ng.org/main/trunk@571 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist/clcpaint.cpp')
-rw-r--r--plugins/Clist/clcpaint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist/clcpaint.cpp b/plugins/Clist/clcpaint.cpp
index 1ddf6bebc1..dfa4147244 100644
--- a/plugins/Clist/clcpaint.cpp
+++ b/plugins/Clist/clcpaint.cpp
@@ -180,10 +180,10 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint)
y = -dat->yScroll;
hdcMem = CreateCompatibleDC(hdc);
hBmpOsb = CreateBitmap(clRect.right, clRect.bottom, 1, GetDeviceCaps(hdc, BITSPIXEL), NULL);
- hOldBitmap = SelectObject(hdcMem, hBmpOsb);
+ hOldBitmap = (HBITMAP)SelectObject(hdcMem, hBmpOsb);
{
TEXTMETRIC tm;
- hOldFont = SelectObject(hdcMem, dat->fontInfo[FONTID_GROUPS].hFont);
+ hOldFont = (HFONT)SelectObject(hdcMem, dat->fontInfo[FONTID_GROUPS].hFont);
GetTextMetrics(hdcMem, &tm);
groupCountsFontTopShift = tm.tmAscent;
SelectObject(hdcMem, dat->fontInfo[FONTID_GROUPCOUNTS].hFont);