fixed WaitForMultipleObjects()'s handling of the WaitAll flag

svn path=/trunk/; revision=885
This commit is contained in:
Phillip Susi 1999-12-17 23:24:27 +00:00
parent 6b53b3acea
commit 4ce5c9d3b4

View file

@ -212,7 +212,7 @@ WaitForMultipleObjects(DWORD nCount,
BOOL bWaitAll,
DWORD dwMilliseconds)
{
return WaitForMultipleObjectsEx(nCount,lpHandles,bWaitAll,dwMilliseconds,FALSE);
return WaitForMultipleObjectsEx( nCount, lpHandles, bWaitAll ? WaitAll : WaitAny, dwMilliseconds, FALSE );
}