Alexandre Julliard : user32/tests: Flush events before the key flags test.

Alexandre Julliard julliard at winehq.org
Tue Nov 8 12:23:12 CST 2011


Module: wine
Branch: master
Commit: f0d1bf5f4e0e42b4406305049867579c145fa70b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f0d1bf5f4e0e42b4406305049867579c145fa70b

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov  8 18:16:55 2011 +0100

user32/tests: Flush events before the key flags test.

---

 dlls/user32/tests/msg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
index 90b518d..0376162 100644
--- a/dlls/user32/tests/msg.c
+++ b/dlls/user32/tests/msg.c
@@ -13024,6 +13024,7 @@ static void test_keyflags(void)
     test_window = CreateWindowEx(0, "TestWindowClass", NULL, WS_OVERLAPPEDWINDOW | WS_VISIBLE,
                            100, 100, 200, 200, 0, 0, 0, NULL);
 
+    flush_events();
     flush_sequence();
 
     /* keyup without a keydown */




More information about the wine-cvs mailing list