gdiplus/tests: Fix a test failure on Win98/WinMe.

This commit is contained in:
Paul Vriens 2010-03-16 11:00:59 +01:00 committed by Alexandre Julliard
parent ac8d92405c
commit 0513eb506e

View File

@ -2415,7 +2415,10 @@ static void test_GdipGetNearestColor(void)
expect(Ok, status);
status = GdipGetNearestColor(graphics, &color);
expect(Ok, status);
todo_wine expect(0xffa8b8e8, color);
todo_wine
ok(color == 0xffa8b8e8 ||
broken(color == 0xffa0b8e0), /* Win98/WinMe */
"Expected ffa8b8e8, got %.8x\n", color);
GdipDeleteGraphics(graphics);
GdipDisposeImage((GpImage*)bitmap);