summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
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 d50ec769e..d82b82f0d 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -181,7 +181,7 @@ Inkscape::NodePath::Path *sp_nodepath_new(SPDesktop *desktop, SPObject *object,
return NULL;
NArtBpath *bpath = curve->first_bpath();
- gint length = curve->end;
+ gint length = curve->_end;
if (length == 0) {
curve->unref();
return NULL; // prevent crash for one-node paths