summaryrefslogtreecommitdiff
path: root/plugins/Mwclist/clcpaint.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Mwclist/clcpaint.c
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Mwclist/clcpaint.c')
-rw-r--r--plugins/Mwclist/clcpaint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Mwclist/clcpaint.c b/plugins/Mwclist/clcpaint.c
index a150c30836..670da591f0 100644
--- a/plugins/Mwclist/clcpaint.c
+++ b/plugins/Mwclist/clcpaint.c
@@ -270,7 +270,7 @@ void InternalPaintClc(HWND hwnd,struct ClcData *dat,HDC hdc,RECT *rcPaint)
}
break;
}
- for(;y<maxy;y+=desth) {
+ for (;y<maxy;y+=desth) {
if(y<rcPaint->top-desth) continue;
for(x=0;x<maxx;x+=destw)
StretchBlt(hdcMem,x,y,destw,desth,hdcBmp,0,0,bmp.bmWidth,bmp.bmHeight,SRCCOPY);
@@ -377,7 +377,7 @@ void InternalPaintClc(HWND hwnd,struct ClcData *dat,HDC hdc,RECT *rcPaint)
}
}
- if((style&CLS_CHECKBOXES && Drawing->type==CLCIT_CONTACT) ||
+ if ((style&CLS_CHECKBOXES && Drawing->type==CLCIT_CONTACT) ||
(style&CLS_GROUPCHECKBOXES && Drawing->type==CLCIT_GROUP) ||
(Drawing->type==CLCIT_INFO && Drawing->flags&CLCIIF_CHECKBOX))
checkboxWidth=dat->checkboxSize+2;
@@ -698,7 +698,7 @@ void InternalPaintClc(HWND hwnd,struct ClcData *dat,HDC hdc,RECT *rcPaint)
SelectObject(hdcMem,hoBrush);
DeleteObject(hBrush);
}
- if(!grey)
+ if (!grey)
BitBlt(hdc,rcPaint->left,rcPaint->top,rcPaint->right-rcPaint->left,rcPaint->bottom-rcPaint->top,hdcMem,rcPaint->left,rcPaint->top,SRCCOPY);
//DeleteDC(hdcMem);
if(hBrushAlternateGrey) DeleteObject(hBrushAlternateGrey);