diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-13 17:26:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-13 17:26:45 +0000 |
commit | 5e686292c537275c8ea1399f311c082d905e8a63 (patch) | |
tree | 88a4f3921ff70323775f3329c8820a0fe947d74f /src/modules/clist/clistmenus.cpp | |
parent | 90c154b4be566ec4a804217d0f1e50fb1e259b72 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@398 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clistmenus.cpp')
-rw-r--r-- | src/modules/clist/clistmenus.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; pos2<hStatusMainMenuHandlesCnt; pos2++)
@@ -1258,7 +1258,7 @@ static INT_PTR AddStatusMenuItem(WPARAM wParam,LPARAM lParam) {
char *buf=mir_strdup(mi->pszService);
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);
|