gdiplus: Comment out a test that crashes some gdiplus implementations.

This commit is contained in:
Dmitry Timoshkov 2012-06-28 17:52:24 +09:00 committed by Alexandre Julliard
parent 39f80e56fb
commit bd1adf9e0b
1 changed files with 3 additions and 0 deletions

View File

@ -1786,10 +1786,13 @@ static void test_getsetpixel(void)
broken(stat == Ok), /* Older gdiplus */
"Expected InvalidParameter, got %.8x\n", stat);
if (0) /* crashes some gdiplus implementations */
{
stat = GdipBitmapSetPixel(bitmap, 1, -1, 0);
ok(stat == InvalidParameter ||
broken(stat == Ok), /* Older gdiplus */
"Expected InvalidParameter, got %.8x\n", stat);
}
stat = GdipBitmapGetPixel(bitmap, 2, 1, &color);
expect(InvalidParameter, stat);