summaryrefslogtreecommitdiff
path: root/src/core/miranda.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-11-13 20:12:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-11-13 20:12:58 +0000
commit0556f99729354666e6a08e0b14f332d7ed3f64ef (patch)
treef90c2012dc3a217c7a84c9276d4101215867847d /src/core/miranda.cpp
parentca9e826e27ec51c2cff31545204bb462cdd9fb63 (diff)
one more part not needed checks
git-svn-id: http://svn.miranda-ng.org/main/trunk@10985 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/miranda.cpp')
-rw-r--r--src/core/miranda.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp
index efe76924ef..d115105c35 100644
--- a/src/core/miranda.cpp
+++ b/src/core/miranda.cpp
@@ -253,7 +253,7 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR cmdLine, int)
DWORD rc;
BOOL dying = FALSE;
rc = MsgWaitForMultipleObjectsEx(waitObjectCount, hWaitObjects, INFINITE, QS_ALLINPUT, MWMO_ALERTABLE);
- if (rc >= WAIT_OBJECT_0 && rc < WAIT_OBJECT_0 + waitObjectCount) {
+ if (rc < WAIT_OBJECT_0 + waitObjectCount) {
rc -= WAIT_OBJECT_0;
CallService(pszWaitServices[rc], (WPARAM)hWaitObjects[rc], 0);
}