From b8a20c7e3e0dca06effc09868bc5cf1702be30cf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 6 Jul 2012 22:23:39 +0000 Subject: more correct autoformatter git-svn-id: http://svn.miranda-ng.org/main/trunk@803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/modern_skinbutton.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_modern/modern_skinbutton.cpp') diff --git a/plugins/Clist_modern/modern_skinbutton.cpp b/plugins/Clist_modern/modern_skinbutton.cpp index f15b8ee633..5d985b6a6e 100644 --- a/plugins/Clist_modern/modern_skinbutton.cpp +++ b/plugins/Clist_modern/modern_skinbutton.cpp @@ -671,7 +671,7 @@ static int ModernSkinButtonErase(int l,int t,int r, int b) if (!g_pCachedWindow->hImageDC ||!g_pCachedWindow->hBackDC) return 0; if (!(l||r||t||b)) { - for(i = 0; i < ButtonsCount; i++) + for(i=0; i < ButtonsCount; i++) { if (pcli->hwndContactList && Buttons[i].hwnd != NULL) { @@ -711,7 +711,7 @@ int ModernSkinButtonRedrawAll(HDC hdc) DWORD i; if (!ModernSkinButtonModuleIsLoaded) return 0; g_mutex_bLockUpdating++; - for(i = 0; i < ButtonsCount; i++) + for(i=0; i < ButtonsCount; i++) { if (pcli->hwndContactList && Buttons[i].hwnd == NULL) Buttons[i].hwnd = ModernSkinButtonCreateWindow(Buttons[i].bct,pcli->hwndContactList); @@ -724,7 +724,7 @@ int ModernSkinButtonDeleteAll() { DWORD i; if (!ModernSkinButtonModuleIsLoaded) return 0; - for(i = 0; i < ButtonsCount; i++) + for(i=0; i < ButtonsCount; i++) if (Buttons[i].hwnd) DestroyWindow(Buttons[i].hwnd); if (Buttons) mir_free_and_nill(Buttons); ButtonsCount = 0; @@ -761,7 +761,7 @@ int ModernSkinButton_ReposButtons(HWND parent, BYTE draw, RECT * r) OffsetRect(&rc,-rc.left,-rc.top); rc.right = rc.left+(clr.right-clr.left); rc.bottom = rc.top+(clr.bottom-clr.top); - for(i = 0; i < ButtonsCount; i++) + for(i=0; i < ButtonsCount; i++) { int l,r,b,t; RECT oldRect = {0}; -- cgit v1.2.3