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