summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nodepath.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}