summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-02 22:31:05 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-02 22:31:05 +0000
commit936fc2adfcf83579ef09e66eb22db0dd7724b0be (patch)
treef31ffe3f04742a2cc1a0e1e24733f835dc0c22e6 /src/nodepath.cpp
parentremove old nartbpath to cairo method (diff)
downloadinkscape-936fc2adfcf83579ef09e66eb22db0dd7724b0be.tar.gz
inkscape-936fc2adfcf83579ef09e66eb22db0dd7724b0be.zip
fix error in nodepath
(bzr r6533)
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 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);
}