13
0

Small cleanup in FramedCurve.

This commit is contained in:
nick_m 2016-06-03 02:02:50 +10:00
parent 8f88f42ba9
commit 575bb7792f

View File

@ -176,8 +176,6 @@ FramedCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> 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<Cairo::Context> context) c
context->fill ();
break;
}
context->restore ();
}
context->restore ();
#if 0
/* add points */