Commit 95e03b72 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

winetest: Don't use W-functions in winetest to avoid issues on Win9x.

parent 3d0cf96f
...@@ -335,7 +335,7 @@ static DWORD wait_process( HANDLE process, DWORD timeout ) ...@@ -335,7 +335,7 @@ static DWORD wait_process( HANDLE process, DWORD timeout )
{ {
wait = MsgWaitForMultipleObjects( 1, &process, FALSE, timeout - diff, QS_ALLINPUT ); wait = MsgWaitForMultipleObjects( 1, &process, FALSE, timeout - diff, QS_ALLINPUT );
if (wait != WAIT_OBJECT_0 + 1) return wait; if (wait != WAIT_OBJECT_0 + 1) return wait;
while (PeekMessageW( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg ); while (PeekMessageA( &msg, 0, 0, 0, PM_REMOVE )) DispatchMessage( &msg );
diff = GetTickCount() - start; diff = GetTickCount() - start;
} }
return WAIT_TIMEOUT; return WAIT_TIMEOUT;
......
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