summaryrefslogtreecommitdiff
path: root/wait.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wait.cpp')
-rw-r--r--wait.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wait.cpp b/wait.cpp
index c342b71a..d7c26c01 100644
--- a/wait.cpp
+++ b/wait.cpp
@@ -372,7 +372,7 @@ bool WaitObjectContainer::Wait(unsigned long milliseconds)
lastTime = timeAfterWait;
}
#endif
- if (result >= WAIT_OBJECT_0 && result < WAIT_OBJECT_0 + m_handles.size())
+ if (result < WAIT_OBJECT_0 + m_handles.size())
{
if (result == m_lastResult)
m_sameResultCount++;