Commit ba8e2a3f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

0 means success, all else failure for WaitForSingleObject.

parent d8935f10
......@@ -273,7 +273,7 @@ CONSOLE_get_input( HANDLE32 handle )
{
DWORD res;
char inchar;
if (!WaitForSingleObject( handle, 0 )) break;
if (WaitForSingleObject( handle, 0 )) break;
if (!ReadFile( handle, &inchar, 1, &res, NULL )) break;
buf = HeapReAlloc(GetProcessHeap(),0,buf,len+1);
buf[len++]=inchar;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment