[5/5] gdiplus: improved direction of LineCapArrowAnchor

Evan Stade estade at gmail.com
Mon Jul 9 22:54:31 CDT 2007


Hi,

Changelog:
*make LineCapArrowAnchor look more like it does in windows

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

-- 
Evan Stade
-------------- next part --------------
From 8ae81143e0f032d41521b03f10cda207786c10a6 Mon Sep 17 00:00:00 2001
From: Evan Stade <estade at evanstade.smo.corp.google.com>
Date: Mon, 9 Jul 2007 20:32:29 -0700
Subject: [PATCH] removed conditional
---
 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 aaca0a1..7c0e826 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -71,7 +71,7 @@ GpStatus WINGDIPAPI GdipAddPathLine2(GpP
     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++){
-- 
1.4.1


More information about the wine-patches mailing list