user/test: Silently ignore WM_PAINT in msg tests

Vitaliy Margolen wine-patch at kievinfo.com
Tue Oct 25 14:30:10 CDT 2005


Vitaliy Margolen

changelog:
  user/test
  - Silently ignore WM_PAINT in msg tests
-------------- next part --------------
Index: dlls/user/tests/msg.c
===================================================================
RCS file: /home/wine/wine/dlls/user/tests/msg.c,v
retrieving revision 1.96
diff -u -p -r1.96 msg.c
--- dlls/user/tests/msg.c	19 Oct 2005 19:06:35 -0000	1.96
+++ dlls/user/tests/msg.c	25 Oct 2005 19:29:39 -0000
@@ -5947,11 +5962,7 @@ static const struct message WmDispatchPa
 
 static LRESULT WINAPI DispatchMessageCheckProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
 {
-    if (message == WM_PAINT)
-    {
-        trace( "Got WM_PAINT, ignoring\n" );
-        return 0;
-    }
+    if (message == WM_PAINT) return 0;
     return MsgCheckProcA( hwnd, message, wParam, lParam );
 }
 


More information about the wine-patches mailing list