Skip to content
Snippets Groups Projects
Commit ba8e2a3f authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

0 means success, all else failure for WaitForSingleObject.

parent d8935f10
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment