Code

- try to use more forward declarations for less dependencies on display/curve.h
[inkscape.git] / src / nodepath.cpp
index d50ec769e311ced918c45c8730042169eac6b890..d82b82f0d01645be6ce916da6c4cbf7cd4564064 100644 (file)
@@ -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