From 1be97f17884f9046e6ab45d45ea327ef00a3d095 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 17 Jun 2012 20:33:13 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clistevents.cpp | 2 +- src/modules/netlib/netlib.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/clist/clistevents.cpp b/src/modules/clist/clistevents.cpp index 4a82c21ea8..46045daa04 100644 --- a/src/modules/clist/clistevents.cpp +++ b/src/modules/clist/clistevents.cpp @@ -91,7 +91,7 @@ static void ShowEventsInTray() char nTrayProtoCnt; int nTrayCnt=cli.trayIconCount; if (!cli.events.count || !nTrayCnt) return; - if (cli.events.count == 1 || nTrayCnt == 1) + if (cli.events.count == 1 || nTrayCnt == 1) { ShowOneEventInTray(0); //for only one icon in tray show topmost event return; diff --git a/src/modules/netlib/netlib.cpp b/src/modules/netlib/netlib.cpp index d1c0579c37..7e637b4b47 100644 --- a/src/modules/netlib/netlib.cpp +++ b/src/modules/netlib/netlib.cpp @@ -157,7 +157,7 @@ static INT_PTR NetlibRegisterUser(WPARAM, LPARAM lParam) thisUser->user.ptszDescriptiveName = (thisUser->user.flags&NUF_UNICODE ? mir_u2t((WCHAR*)nlu->ptszDescriptiveName) : mir_a2t(nlu->szDescriptiveName)); } if ((thisUser->user.szSettingsModule=mir_strdup(nlu->szSettingsModule)) == NULL - || (nlu->szDescriptiveName && thisUser->user.ptszDescriptiveName == NULL) + || (nlu->szDescriptiveName && thisUser->user.ptszDescriptiveName == NULL) || (nlu->szHttpGatewayUserAgent && (thisUser->user.szHttpGatewayUserAgent=mir_strdup(nlu->szHttpGatewayUserAgent)) == NULL)) { mir_free(thisUser); -- cgit v1.2.3