Small cleanup in FramedCurve.
This commit is contained in:
parent
8f88f42ba9
commit
575bb7792f
|
@ -176,8 +176,6 @@ FramedCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) c
|
||||||
context->fill ();
|
context->fill ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
context->restore ();
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
/* curve of at least 3 points */
|
/* curve of at least 3 points */
|
||||||
|
@ -251,8 +249,8 @@ FramedCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) c
|
||||||
context->fill ();
|
context->fill ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
context->restore ();
|
|
||||||
}
|
}
|
||||||
|
context->restore ();
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* add points */
|
/* add points */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user