user32/tests: Flush remaining events before starting a new sequence.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2019-11-05 20:44:52 +01:00 committed by Alexandre Julliard
parent ad5ca21de6
commit 766ee1692e
1 changed files with 1 additions and 0 deletions

View File

@ -14375,6 +14375,7 @@ static void test_dbcs_wm_char(void)
WS_OVERLAPPEDWINDOW, 100, 100, 200, 200, 0, 0, 0, NULL); WS_OVERLAPPEDWINDOW, 100, 100, 200, 200, 0, 0, 0, NULL);
ok (hwnd != 0, "Failed to create overlapped window\n"); ok (hwnd != 0, "Failed to create overlapped window\n");
ok (hwnd2 != 0, "Failed to create overlapped window\n"); ok (hwnd2 != 0, "Failed to create overlapped window\n");
flush_events();
flush_sequence(); flush_sequence();
memset( wmCharSeq, 0, sizeof(wmCharSeq) ); memset( wmCharSeq, 0, sizeof(wmCharSeq) );