The attached patch (sorry, crappy mailer) fixes the win.c failure I was
seeing.  Is it correct?

--Juan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
Index: dlls/user/tests/win.c
===================================================================
RCS file: /home/wine/wine/dlls/user/tests/win.c,v
retrieving revision 1.87
diff -u -r1.87 win.c
--- dlls/user/tests/win.c	4 Aug 2006 19:58:08 -0000	1.87
+++ dlls/user/tests/win.c	29 Sep 2006 18:18:46 -0000
@@ -2551,7 +2551,7 @@
     ok(msg.hwnd == popup && msg.message == WM_LBUTTONUP, "hwnd %p message %04x\n", msg.hwnd, msg.message);
 
     ret = PeekMessageA(&msg, 0, 0, 0, PM_REMOVE);
-    ok(!ret, "message %04x available\n", msg.message);
+    ok(!ret || msg.message == WM_PAINT, "message %04x available\n", msg.message);
 
     ShowWindow(popup, SW_HIDE);
     while (PeekMessageA(&msg, 0, 0, 0, PM_REMOVE)) DispatchMessageA(&msg);


Reply via email to