summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_commonheaders.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_commonheaders.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_commonheaders.cpp')
-rw-r--r--plugins/Clist_modern/modern_commonheaders.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Clist_modern/modern_commonheaders.cpp b/plugins/Clist_modern/modern_commonheaders.cpp
index 2556a9f624..17e611dcd6 100644
--- a/plugins/Clist_modern/modern_commonheaders.cpp
+++ b/plugins/Clist_modern/modern_commonheaders.cpp
@@ -206,9 +206,9 @@ BOOL DestroyIcon_protect(HICON icon)
void li_ListDestruct(SortedList *pList, ItemDestuctor pItemDestructor)
{
- int i = 0;
+ int i=0;
if (!pList) return;
- for (i = 0; i < pList->realCount; i++) pItemDestructor(pList->items[i]);
+ for (i=0; i < pList->realCount; i++) pItemDestructor(pList->items[i]);
List_Destroy(pList);
mir_free(pList);
}
@@ -234,7 +234,7 @@ void li_SortList(SortedList *pList, FSortFunc pSortFunct)
int i;
if (!pSortFunct) pSortFunct = pOldSort;
pList->sortFunc = NULL;
- for (i = 0; i < pList->realCount-1; i++)
+ for (i=0; i < pList->realCount-1; i++)
if (pOldSort(pList->items[i],pList->items[i+1]) < 0)
{
void * temp = pList->items[i];
@@ -266,7 +266,7 @@ HANDLE ModernHookEvent(char *EventID, MIRANDAHOOK HookProc)
HookRec * hr = NULL;
DWORD i;
//1. Find free
- for (i = 0;i < hooksRecAlloced;i++) {
+ for (i=0;i < hooksRecAlloced;i++) {
if (hooksrec[i].hHook == NULL)
{
hr = &(hooksrec[i]);
@@ -290,7 +290,7 @@ int ModernUnhookEvent(HANDLE hHook)
DWORD i;
//1. Find free
- for (i = 0;i < hooksRecAlloced;i++)
+ for (i=0;i < hooksRecAlloced;i++)
{
if (hooksrec[i].hHook == hHook)
{
@@ -307,7 +307,7 @@ int UnhookAll()
DWORD i;
TRACE("Unhooked Events:\n");
if (!hooksrec) return 0;
- for (i = 0;i < hooksRecAlloced;i++)
+ for (i=0;i < hooksRecAlloced;i++)
{
if (hooksrec[i].hHook != NULL)
{