gdiplus/tests: Check return code of GdipGetClipBounds (Coverity).

This commit is contained in:
Marcus Meissner 2013-07-20 09:09:08 +02:00 committed by Alexandre Julliard
parent 038e624134
commit 716f115293
1 changed files with 3 additions and 1 deletions

View File

@ -707,7 +707,9 @@ static void test_BeginContainer2(void)
status = GdipEndContainer(graphics, cont2);
expect(Ok, status);
GdipGetClipBounds(graphics, &clip);
status = GdipGetClipBounds(graphics, &clip);
expect(Ok, status);
ok(fabs(defClip[0] - clip.X) < 0.0001 &&
fabs(defClip[1] - clip.Y) < 0.0001 &&
fabs(defClip[2] - clip.Width) < 0.0001 &&