From 30084db2ce2ba20800610726954533eddb9abcc7 Mon Sep 17 00:00:00 2001 From: Evan Stade Date: Mon, 9 Jul 2007 20:32:29 -0700 Subject: [PATCH] gdiplus: Make LineCapArrowAnchor look more like it does in windows. --- dlls/gdiplus/graphicspath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c index 40975b27f0b..4f7d1effbc9 100644 --- a/dlls/gdiplus/graphicspath.c +++ b/dlls/gdiplus/graphicspath.c @@ -71,7 +71,7 @@ GpStatus WINGDIPAPI GdipAddPathLine2(GpPath *path, GDIPCONST GpPointF *points, if(!path || !points) return InvalidParameter; - if(!lengthen_path(path, count + (path->newfigure ? 1 : 0))) + if(!lengthen_path(path, count)) return OutOfMemory; for(i = 0; i < count; i++){