gdi32/tests: Fix yet another place where win9x returns bmType equal to 0x5250.

This commit is contained in:
Huw Davies 2009-03-09 16:45:06 +00:00 committed by Alexandre Julliard
parent f9d82ed1de
commit bbafe93858
1 changed files with 3 additions and 0 deletions

View File

@ -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);