[4/4] gdiplus: cleaned GdipAddPathLine2

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


Hi,

Changelog:
*removed unneeded condition

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

-- 
Evan Stade
-------------- next part --------------
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