summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_skinbutton.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-06 22:23:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-06 22:23:39 +0000
commitb8a20c7e3e0dca06effc09868bc5cf1702be30cf (patch)
tree3fc23f24f6aaff7c0796d1fbedfd907cda9d86f4 /plugins/Clist_modern/modern_skinbutton.cpp
parentf6943a588688a64a0154a0bc3a2a56ad8727e9fa (diff)
more correct autoformatter
git-svn-id: http://svn.miranda-ng.org/main/trunk@803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_skinbutton.cpp')
-rw-r--r--plugins/Clist_modern/modern_skinbutton.cpp8
1 files changed, 4 insertions, 4 deletions
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};