Commit 716f1152 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

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

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