From 57b683ea00cc673901979d94b7a5374336e672c6 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 12 Jun 2008 13:22:47 +0000 Subject: Remove obsolete variable 'onlycurves' from pen-context.(h|cpp) (bzr r5900) --- src/pen-context.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pen-context.cpp') 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; -- cgit v1.2.3