diff --git a/libs/canvas/framed_curve.cc b/libs/canvas/framed_curve.cc index c5b2d6de22..4e7b4a8796 100644 --- a/libs/canvas/framed_curve.cc +++ b/libs/canvas/framed_curve.cc @@ -176,8 +176,6 @@ FramedCurve::render (Rect const & area, Cairo::RefPtr context) c context->fill (); break; } - context->restore (); - } else { /* curve of at least 3 points */ @@ -251,8 +249,8 @@ FramedCurve::render (Rect const & area, Cairo::RefPtr context) c context->fill (); break; } - context->restore (); } + context->restore (); #if 0 /* add points */