commit | c2aa66d506c6b0ffb498102c0b02fe2f17d3dd73 | [log] [tgz] |
---|---|---|
author | Andrew Eikum <andrew@brightnightgames.com> | Sun Jun 28 13:33:59 2009 -0500 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Jun 29 12:29:35 2009 +0200 |
tree | a70ff83532cd6d583cb6afd53cf689972930dd88 | |
parent | fe55f0df2a8c8bb592a4794eb0c6d22f57aa4cda [diff] [blame] |
gdiplus/tests: Add tests for GdipDrawCurve2I.
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c index 4d7f096..c052bc3 100644 --- a/dlls/gdiplus/graphics.c +++ b/dlls/gdiplus/graphics.c
@@ -1514,7 +1514,7 @@ TRACE("(%p, %p, %p, %d, %.2f)\n", graphics, pen, points, count, tension); - if(!points || count <= 0) + if(!points) return InvalidParameter; pointsF = GdipAlloc(sizeof(GpPointF)*count);