From e45f1b91312d3fdea8727135580004d3558435e9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Apr 2015 13:50:36 +0000 Subject: two warnings fixed in clists git-svn-id: http://svn.miranda-ng.org/main/trunk@12734 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/src/clcpaint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_nicer/src/clcpaint.cpp') diff --git a/plugins/Clist_nicer/src/clcpaint.cpp b/plugins/Clist_nicer/src/clcpaint.cpp index 6e29eaaf8c..5eda1289d4 100644 --- a/plugins/Clist_nicer/src/clcpaint.cpp +++ b/plugins/Clist_nicer/src/clcpaint.cpp @@ -1362,7 +1362,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT *rcPaint) SelectObject(hdcBmp, dat->hBmpBackground); int y = dat->backgroundBmpUse & CLBF_SCROLL ? -dat->yScroll : 0; int maxx = dat->backgroundBmpUse & CLBF_TILEH ? clRect.right : 1; - int maxy = dat->backgroundBmpUse & CLBF_TILEV ? maxy = rcPaint->bottom : y + 1; + int maxy = dat->backgroundBmpUse & CLBF_TILEV ? rcPaint->bottom : y + 1; switch (dat->backgroundBmpUse & CLBM_TYPE) { case CLB_STRETCH: if (dat->backgroundBmpUse & CLBF_PROPORTIONAL) { -- cgit v1.2.3