summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pen-context.cpp3
-rw-r--r--src/pen-context.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp
index e3ff835d5..49bf881a4 100644
--- a/src/pen-context.cpp
+++ b/src/pen-context.cpp
@@ -1128,8 +1128,7 @@ spdc_pen_set_subsequent_point(SPPenContext *const pc, NR::Point const p, bool st
pc->red_curve->reset();
pc->red_curve->moveto(pc->p[0]);
bool is_curve;
- if ( (pc->onlycurves)
- || ( pc->p[1] != pc->p[0] ) )
+ if (pc->p[1] != pc->p[0])
{
pc->red_curve->curveto(pc->p[1], p, p);
is_curve = true;
diff --git a/src/pen-context.h b/src/pen-context.h
index 29938e923..ddf1e76c4 100644
--- a/src/pen-context.h
+++ b/src/pen-context.h
@@ -37,7 +37,6 @@ struct SPPenContext : public SPDrawContext {
unsigned int mode : 1;
unsigned int state : 2;
- unsigned int onlycurves : 1;
bool polylines_only;