From 54dec7a74c313ee61437386bd667f9a7653351fd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Jun 2012 14:52:53 +0000 Subject: fixes for the options page translation git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/coolsb/coolsblib.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_nicer/coolsb/coolsblib.cpp') diff --git a/plugins/Clist_nicer/coolsb/coolsblib.cpp b/plugins/Clist_nicer/coolsb/coolsblib.cpp index 3a90d0d070..42f74c4ca0 100644 --- a/plugins/Clist_nicer/coolsb/coolsblib.cpp +++ b/plugins/Clist_nicer/coolsb/coolsblib.cpp @@ -632,7 +632,7 @@ BOOL WINAPI CoolSB_InsertButton(HWND hwnd, int wSBflags, UINT nPos, SCROLLBUT *p else { //insert space for the button at the specified position - for(i = sbar->nButtons; i > nPos; i--) + for (i = sbar->nButtons; i > nPos; i--) { sbar->sbButtons[i] = sbar->sbButtons[i-1]; } @@ -718,7 +718,7 @@ BOOL WINAPI CoolSB_InsertButton(HWND hwnd, int wSBflags, UINT nPos, SCROLLBUT *p static SCROLLBUT *GetButtonFromId(SCROLLBAR *sbar, UINT uCmdId) { int i; - for(i = 0; i < sbar->nButtons; i++) + for (i = 0; i < sbar->nButtons; i++) { if(sbar->sbButtons[i].uCmdId == uCmdId) return &sbar->sbButtons[i]; @@ -798,7 +798,7 @@ BOOL WINAPI CoolSB_RemoveButton(HWND hwnd, int wSBflags, UINT uItem, BOOL fByCmd else if(fByCmd == TRUE) { //find the button with the specified command id - for(i = 0; i < sbar->nButtons; i++) + for (i = 0; i < sbar->nButtons; i++) { if(sbar->sbButtons[i].uCmdId == uItem) { @@ -813,7 +813,7 @@ BOOL WINAPI CoolSB_RemoveButton(HWND hwnd, int wSBflags, UINT uItem, BOOL fByCmd } //remove the button! - for(i = uItem; i < sbar->nButtons - 1; i++) + for (i = uItem; i < sbar->nButtons - 1; i++) { sbar->sbButtons[i] = sbar->sbButtons[i+1]; } -- cgit v1.2.3