[ros-diffs] [janderwald] 33687: - fix wait functions for console handles - bug 3273

janderwald at svn.reactos.org janderwald at svn.reactos.org
Sun May 25 09:05:35 CEST 2008


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/wait.c?rev=33687&r1=33686&r2=33687&view=diff
==============================================================================
--- 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();



More information about the Ros-diffs mailing list