Author: janderwald Date: Sun May 25 02:05:34 2008 New Revision: 33687
URL: http://svn.reactos.org/svn/reactos?rev=33687&view=rev Log: - fix wait functions for console handles - bug 3273
Modified: trunk/reactos/dll/win32/kernel32/synch/wait.c
Modified: trunk/reactos/dll/win32/kernel32/synch/wait.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/synch/wa... ============================================================================== --- trunk/reactos/dll/win32/kernel32/synch/wait.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/synch/wait.c [iso-8859-1] Sun May 25 02:05:34 2008 @@ -66,7 +66,7 @@ }
/* Check for console handle */ - if ((IsConsoleHandle(hHandle)) && (!VerifyConsoleIoHandle(hHandle))) + if ((IsConsoleHandle(hHandle)) && (VerifyConsoleIoHandle(hHandle))) { /* Get the real wait handle */ hHandle = GetConsoleInputWaitHandle(); @@ -186,7 +186,7 @@
/* Check for console handle */ if ((IsConsoleHandle(HandleBuffer[i])) && - (!VerifyConsoleIoHandle(HandleBuffer[i]))) + (VerifyConsoleIoHandle(HandleBuffer[i]))) { /* Get the real wait handle */ HandleBuffer[i] = GetConsoleInputWaitHandle(); @@ -278,7 +278,7 @@
/* Check for console handle */ if ((IsConsoleHandle(hObjectToWaitOn)) && - (!VerifyConsoleIoHandle(hObjectToWaitOn))) + (VerifyConsoleIoHandle(hObjectToWaitOn))) { /* Get the real wait handle */ hObjectToWaitOn = GetConsoleInputWaitHandle();