From 5e686292c537275c8ea1399f311c082d905e8a63 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Jun 2012 17:26:45 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clistmenus.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/clist/clistmenus.cpp') diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp index 1d9f8275d7..051cc4cee6 100644 --- a/src/modules/clist/clistmenus.cpp +++ b/src/modules/clist/clistmenus.cpp @@ -375,7 +375,7 @@ static INT_PTR BuildContactMenu(WPARAM wParam, LPARAM) //lparam - lparam from winproc INT_PTR ContactMenuExecService(WPARAM wParam,LPARAM lParam) { - if (wParam!=0) { + if (wParam != 0) { lpContactMenuExecParam cmep=(lpContactMenuExecParam)wParam; //call with wParam=(WPARAM)(HANDLE)hContact,lparam=popupposition CallService(cmep->szServiceName,lParam,cmep->param); @@ -603,7 +603,7 @@ INT_PTR StatusMenuExecService(WPARAM wParam, LPARAM) CallService(smep->svc, 0, (LPARAM)smep->hMenuItem); } else { - if ( smep->status == 0 && smep->protoindex !=0 && smep->proto != NULL ) { + if ( smep->status == 0 && smep->protoindex != 0 && smep->proto != NULL ) { PMO_IntMenuItem pimi; char *prot = smep->proto; char szHumanName[64]={0}; @@ -1118,7 +1118,7 @@ static int MenuProtoAck(WPARAM, LPARAM lParam) tmi.cbSize=sizeof(tmi); if (overallStatus >= ID_STATUS_OFFLINE) { int pos = statustopos(cli.currentStatusMenuItem); - if (pos==-1) pos=0; + if (pos == -1) pos=0; { // reset all current possible checked statuses int pos2; for (pos2=0; pos2pszService); int i=0; - while(buf[i]!='\0' && buf[i]!='/') i++; + while (buf[i] != '\0' && buf[i] != '/') i++; buf[i]='\0'; smep->proto=mir_strdup(buf); mir_free(buf); -- cgit v1.2.3