[PATCH] Don't use W-functions in winetest to avoid issues on Win9x

Paul Vriens Paul.Vriens.Wine at gmail.com
Mon Feb 23 13:05:31 CST 2009


---
 programs/winetest/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index 5423ddb..74a4307 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -335,7 +335,7 @@ static DWORD wait_process( HANDLE process, DWORD timeout )
     {
         wait = MsgWaitForMultipleObjects( 1, &process, FALSE, timeout - diff, QS_ALLINPUT );
         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;
     }
     return WAIT_TIMEOUT;
-- 
1.6.0.6


--------------070607000207030802070001--



More information about the wine-patches mailing list