From: johanengelen Date: Sat, 2 Aug 2008 22:31:05 +0000 (+0000) Subject: fix error in nodepath X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=db71dfb4ff7564c2efe6387b8e452a7b67c3a4c3;p=inkscape.git fix error in nodepath --- diff --git a/src/nodepath.cpp b/src/nodepath.cpp index ba75c94dc..e2cf1a78d 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -528,7 +528,7 @@ static void subpaths_from_pathvector(Inkscape::NodePath::Path *np, Geom::PathVec NR::Point ppos = from_2geom(pit->initialPoint()) * np->i2d; NRPathcode pcode = NR_MOVETO; - for (Geom::Path::const_iterator cit = pit->begin(); cit != pit->end_open(); ++cit) { + for (Geom::Path::const_iterator cit = pit->begin(); cit != pit->end_closed(); ++cit) { add_curve_to_subpath(np, sp, *cit, t, i, ppos, pcode); }