Evan Stade : gdiplus: Make LineCapArrowAnchor look more like it does in windows.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jul 10 08:02:40 CDT 2007


Module: wine
Branch: master
Commit: 30084db2ce2ba20800610726954533eddb9abcc7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=30084db2ce2ba20800610726954533eddb9abcc7

Author: Evan Stade <estade at evanstade.smo.corp.google.com>
Date:   Mon Jul  9 20:32:29 2007 -0700

gdiplus: Make LineCapArrowAnchor look more like it does in windows.

---

 dlls/gdiplus/graphicspath.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 40975b2..4f7d1ef 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++){




More information about the wine-cvs mailing list