[PATCH 2/2] Fix some test failures with 9x/Me on VMware
Paul Vriens
Paul.Vriens.Wine at gmail.com
Tue Oct 6 06:35:56 CDT 2009
---
dlls/user32/tests/win.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 2a62400..63f25bc 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -3242,6 +3242,7 @@ static void test_scrollwindow( HWND hwnd)
rc2 = rc;
rc2.top = ( rc2.top + rc2.bottom) / 2;
ScrollWindowEx( hwnd, 0, - rc2.top, &rc2, NULL, NULL, NULL, SW_ERASE);
+ flush_events(FALSE);
/* expected: black should have scrolled to the upper half */
colr = GetPixel( hdc, (rc2.left+rc2.right)/ 2, rc2.bottom / 4 );
ok ( colr == 0, "pixel should be black, color is %08x\n", colr);
@@ -3261,6 +3262,7 @@ static void test_scrollwindow( HWND hwnd)
rc3.left = rc3.right / 4;
rc3.right -= rc3.right / 4;
ScrollWindowEx( hwnd, 0, - rc2.top, &rc2, &rc3, NULL, NULL, SW_ERASE);
+ flush_events(FALSE);
/* expected: black should have scrolled to the upper half */
colr = GetPixel( hdc, (rc2.left+rc2.right)/ 2, rc2.bottom / 4 );
ok ( colr == 0, "pixel should be black, color is %08x\n", colr);
--
1.6.2.5
--------------090801010601050107080009--
More information about the wine-patches
mailing list