[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    RFC: dlls/user/tests/win.c fix
From:       Juan Lang <juan_lang () yahoo ! com>
Date:       2006-09-29 18:21:16
Message-ID: 20060929182116.24846.qmail () web30008 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

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 
["win.diff" (text/x-patch)]

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);





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic