Commit ffbc3465 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

gdiplus/tests: Fix some test failures on older gdiplus.

parent 876c3c35
......@@ -1055,7 +1055,9 @@ static void test_palette(void)
palette->Count = 257;
stat = GdipSetImagePalette((GpImage*)bitmap, palette);
expect(InvalidParameter, stat);
ok(stat == InvalidParameter ||
broken(stat == Ok), /* Old gdiplus behavior */
"Expected %.8x, got %.8x\n", InvalidParameter, stat);
GdipDisposeImage((GpImage*)bitmap);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment