mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
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
Block a user