summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-17 20:33:13 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-17 20:33:13 +0000
commit1be97f17884f9046e6ab45d45ea327ef00a3d095 (patch)
treea5d507adbdb5c60d15602916e3a2e87d8d6b5ae6 /src
parent3710c84df897f6f816692a706189cb0da6b724dc (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/clist/clistevents.cpp2
-rw-r--r--src/modules/netlib/netlib.cpp2
2 files changed, 2 insertions, 2 deletions
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);