Code

fix error in creating nodepath from pathvector
authorbuliabyak <buliabyak@users.sourceforge.net>
Fri, 1 Aug 2008 02:23:25 +0000 (02:23 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Fri, 1 Aug 2008 02:23:25 +0000 (02:23 +0000)
src/nodepath.cpp

index ffe2a6b8da2f6599914720afbac39b1c3a5d711d..337731e5742dd3668837f097d056bb05b4760850 100644 (file)
@@ -553,7 +553,7 @@ static void add_curve_to_subpath(Inkscape::NodePath::Path *np, Inkscape::NodePat
         dynamic_cast<Geom::VLineSegment const*>(&c) )
     {
         NR::Point pos = from_2geom(c.initialPoint()) * np->i2d;
-        sp_nodepath_node_new(sp, NULL, t[i++], pcode, &ppos, &pos, &pos);
+        sp_nodepath_node_new(sp, NULL, t[i++], pcode, &pos, &pos, &pos);
         ppos = from_2geom(c.finalPoint());
         pcode = NR_LINETO;
     }