diff --git a/dlls/user/tests/msg.c b/dlls/user/tests/msg.c index 6d350b26ca7..ba61a402832 100644 --- a/dlls/user/tests/msg.c +++ b/dlls/user/tests/msg.c @@ -5947,11 +5947,7 @@ static const struct message WmDispatchPaint[] = { 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 ); }