summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-08-01 02:23:25 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-08-01 02:23:25 +0000
commit318e964ae9335ada1c532cd783431991636f9f97 (patch)
tree2e35568365eca51d0055b78a0999eebf7f1f3017 /src/nodepath.cpp
parentKhmer translations updated (diff)
downloadinkscape-318e964ae9335ada1c532cd783431991636f9f97.tar.gz
inkscape-318e964ae9335ada1c532cd783431991636f9f97.zip
fix error in creating nodepath from pathvector
(bzr r6494)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index ffe2a6b8d..337731e57 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -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;
}