From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Mwclist/CLUIFrames/statusbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Mwclist/CLUIFrames/statusbar.c') diff --git a/plugins/Mwclist/CLUIFrames/statusbar.c b/plugins/Mwclist/CLUIFrames/statusbar.c index 4e84805214..f761c5cb18 100644 --- a/plugins/Mwclist/CLUIFrames/statusbar.c +++ b/plugins/Mwclist/CLUIFrames/statusbar.c @@ -35,7 +35,7 @@ int OnStatusBarBackgroundChange() bkColour=DBGetContactSettingDword(NULL,"StatusBar","BkColour",CLCDEFAULT_BKCOLOUR); if(hBmpBackground) {DeleteObject(hBmpBackground); hBmpBackground=NULL;} if(DBGetContactSettingByte(NULL,"StatusBar","UseBitmap",CLCDEFAULT_USEBITMAP)) { - if(!DBGetContactSettingString(NULL,"StatusBar","BkBitmap",&dbv)) { + if (!DBGetContactSettingString(NULL,"StatusBar","BkBitmap",&dbv)) { hBmpBackground=(HBITMAP)CallService(MS_UTILS_LOADBITMAP,0,(LPARAM)dbv.pszVal); mir_free(dbv.pszVal); } @@ -230,7 +230,7 @@ void DrawBackGround(HWND hwnd,HDC mhdc) break; } desth=clRect.bottom -clRect.top; - for(;ytop-desth) continue; for(x=0;x