summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/CLUIFrames
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-01-09 16:59:49 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-01-09 16:59:49 +0000
commit7feae2a81f7c4784805329e1d1c1682e689a4008 (patch)
treef387a025113c7aa502b117d34c2280851a7796ed /plugins/Clist_modern/src/CLUIFrames
parent7fb5bb3e6f40021b22cb2063ece3394f72d31ac2 (diff)
clist_modern: Minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11804 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/CLUIFrames')
-rw-r--r--plugins/Clist_modern/src/CLUIFrames/cluiframes.cpp2
1 files changed, 1 insertions, 1 deletions
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) {