From bbafe938583b02c7587d8ecdbc448e02d44a1e12 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Mon, 9 Mar 2009 16:45:06 +0000 Subject: [PATCH] gdi32/tests: Fix yet another place where win9x returns bmType equal to 0x5250. --- dlls/gdi32/tests/bitmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/gdi32/tests/bitmap.c b/dlls/gdi32/tests/bitmap.c index 9e2f0c953f7..221c6bda4a1 100644 --- a/dlls/gdi32/tests/bitmap.c +++ b/dlls/gdi32/tests/bitmap.c @@ -1642,6 +1642,9 @@ static void test_GetDIBits(void) memset(&bm, 0xAA, sizeof(bm)); bytes = GetObject(hbmp, sizeof(bm), &bm); ok(bytes == sizeof(bm), "GetObject returned %d\n", bytes); + ok(bm.bmType == 0 || + broken(bm.bmType == 21072), /* win9x */ + "wrong bmType %d\n", bm.bmType); ok(bm.bmType == 0, "wrong bmType %d\n", bm.bmType); ok(bm.bmWidth == 16, "wrong bmWidth %d\n", bm.bmWidth); ok(bm.bmHeight == 16, "wrong bmHeight %d\n", bm.bmHeight); -- 2.11.4.GIT