summaryrefslogtreecommitdiffstats
path: root/src/pen-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pen-context.cpp')
-rw-r--r--src/pen-context.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp
index 78baacc76..9509efc69 100644
--- a/src/pen-context.cpp
+++ b/src/pen-context.cpp
@@ -871,8 +871,7 @@ pen_lastpoint_move (SPPenContext *const pc, gdouble x, gdouble y)
return;
// green
- NArtBpath const * bpath = pc->green_curve->last_bpath();
- if (bpath) {
+ if (!pc->green_curve->is_empty()) {
pc->green_curve->last_point_additive_move( Geom::Point(x,y) );
} else {
// start anchor too