summaryrefslogtreecommitdiffstats
path: root/src/display
diff options
context:
space:
mode:
Diffstat (limited to 'src/display')
-rw-r--r--src/display/curve.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp
index 035b65fd7..107dbca3a 100644
--- a/src/display/curve.cpp
+++ b/src/display/curve.cpp
@@ -299,7 +299,6 @@ SPCurve::get_segment_count() const
return nr;
}
-
/**
* Increase _refcount of curve.
*
@@ -882,8 +881,8 @@ SPCurve::last_bpath() const
}
/**
- * Return last pathsegment (possibly the closing path segment) in PathVector or NULL.
- * equal in functionality to SPCurve::last_bpath()
+ * Return last pathsegment (possibly the closing path segment) of the last path in PathVector or NULL.
+ * If the last path is empty (contains only a moveto), the function returns NULL
*/
Geom::Curve const *
SPCurve::last_segment() const