From e3cefc7b6ca803e3f87dbadae54a110332778490 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Jul 2012 22:41:06 +0000 Subject: - first of the /Core standard plugins; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/utils/windowlist.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/modules/utils/windowlist.cpp') diff --git a/src/modules/utils/windowlist.cpp b/src/modules/utils/windowlist.cpp index f1ccff236b..7230ab4a23 100644 --- a/src/modules/utils/windowlist.cpp +++ b/src/modules/utils/windowlist.cpp @@ -22,9 +22,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "..\..\core\commonheaders.h" -static WINDOWLISTENTRY *windowList=NULL; -static int windowListCount=0; -static int nextWindowListId=1; +static WINDOWLISTENTRY *windowList = NULL; +static int windowListCount = 0; +static int nextWindowListId = 1; static INT_PTR AllocWindowList(WPARAM, LPARAM) { @@ -33,8 +33,8 @@ static INT_PTR AllocWindowList(WPARAM, LPARAM) static INT_PTR AddToWindowList(WPARAM, LPARAM lParam) { - windowList=(WINDOWLISTENTRY*)mir_realloc(windowList, sizeof(WINDOWLISTENTRY)*(windowListCount+1)); - windowList[windowListCount++]=*(WINDOWLISTENTRY*)lParam; + windowList = (WINDOWLISTENTRY*)mir_realloc(windowList, sizeof(WINDOWLISTENTRY)*(windowListCount+1)); + windowList[windowListCount++] = *(WINDOWLISTENTRY*)lParam; return 0; } @@ -62,7 +62,7 @@ static INT_PTR FindInWindowList(WPARAM wParam, LPARAM lParam) static INT_PTR BroadcastToWindowList(WPARAM wParam, LPARAM lParam) { int i; - MSG *msg=(MSG*)lParam; + MSG *msg = (MSG*)lParam; for (i=0;imessage, msg->wParam, msg->lParam); @@ -72,7 +72,7 @@ static INT_PTR BroadcastToWindowList(WPARAM wParam, LPARAM lParam) static INT_PTR BroadcastToWindowListAsync(WPARAM wParam, LPARAM lParam) { int i; - MSG *msg=(MSG*)lParam; + MSG *msg = (MSG*)lParam; for (i=0;imessage, msg->wParam, msg->lParam); @@ -96,6 +96,6 @@ void FreeWindowList(void) mir_free(windowList); windowList = NULL; } - windowListCount=0; - nextWindowListId=1; + windowListCount = 0; + nextWindowListId = 1; } -- cgit v1.2.3