From 7feae2a81f7c4784805329e1d1c1682e689a4008 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 9 Jan 2015 16:59:49 +0000 Subject: clist_modern: Minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@11804 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_modern/src/CLUIFrames') diff --git a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp index 3d8a50dc6a..440cf7e4b4 100644 --- a/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp +++ b/plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp @@ -2581,7 +2581,7 @@ void DrawBackGround(HWND hwnd, HDC mhdc, HBITMAP hBmpBackground, COLORREF bkColo SelectObject(hdcBmp, hBmpBackground); int y = backgroundBmpUse & CLBF_SCROLL ? -yScroll : 0; int maxx = backgroundBmpUse & CLBF_TILEH ? clRect.right : 1; - int maxy = backgroundBmpUse & CLBF_TILEV ? maxy = rcPaint->bottom : y + 1; + int maxy = backgroundBmpUse & CLBF_TILEV ? rcPaint->bottom : y + 1; switch (backgroundBmpUse & CLBM_TYPE) { case CLB_STRETCH: if (backgroundBmpUse & CLBF_PROPORTIONAL) { -- cgit v1.2.3