gdiplus/tests: Reject gdiplus versions greater than 2.

This commit is contained in:
Vincent Povirk 2009-09-18 15:52:01 -05:00 committed by Alexandre Julliard
parent eb2c74d5ff
commit ed059e1175
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ static void test_startup(void)
}
}
ok(gpversion > 0 && gpversion < 42, "unexpected gdiplus version %i\n", gpversion);
ok(gpversion > 0 && gpversion <= 2, "unexpected gdiplus version %i\n", gpversion);
trace("gdiplus version is %i\n", gpversion);
status = GdipCreatePen1((ARGB)0xffff00ff, 10.0f, UnitPixel, &pen);