gdiplus/tests: Check return code of GdipGetClipBounds (Coverity).
This commit is contained in:
parent
038e624134
commit
716f115293
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue