Francois Gouget : gdi32/tests: Fix a flood of failures on Windows XP SP1 and 2003 pre-SP1.
Alexandre Julliard
julliard at winehq.org
Wed Jan 1 14:24:21 CST 2014
Module: wine
Branch: master
Commit: b6ba53e5726fd5409f48456b80230500d2351283
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6ba53e5726fd5409f48456b80230500d2351283
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Dec 20 19:05:29 2013 +0100
gdi32/tests: Fix a flood of failures on Windows XP SP1 and 2003 pre-SP1.
---
dlls/gdi32/tests/bitmap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c
index f8e71b4..aa2be70 100644
--- a/dlls/gdi32/tests/bitmap.c
+++ b/dlls/gdi32/tests/bitmap.c
@@ -1611,7 +1611,7 @@ static void test_bitmap_colors( HDC hdc, COLORREF fg, COLORREF bg, int r, int g,
old_brush = SelectObject( hdc, CreatePatternBrush( bitmap ));
PatBlt( hdc, 0, 0, 16, 16, PATCOPY );
GetBitmapBits( GetCurrentObject( hdc, OBJ_BITMAP ), sizeof(bits), bits );
- ok( bits[0] == 0x5555,
+ ok( bits[0] == 0x5555 || broken(bits[0] == 0xaada) /* XP SP1 & 2003 SP0 */,
"wrong bits %04x for %02x,%02x,%02x fg %06x bg %06x\n", bits[0], r, g, b, fg, bg );
DeleteObject( SelectObject( hdc, old_brush ));
More information about the wine-cvs
mailing list