From db71dfb4ff7564c2efe6387b8e452a7b67c3a4c3 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sat, 2 Aug 2008 22:31:05 +0000 Subject: [PATCH] fix error in nodepath --- src/nodepath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2