projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small cleanup in FramedCurve.
[ardour.git]
/
libs
/
canvas
/
framed_curve.cc
diff --git
a/libs/canvas/framed_curve.cc
b/libs/canvas/framed_curve.cc
index c5b2d6de22c3b4d476c4d5ef5a547a01848c24b8..4e7b4a879607158feba6c7814a96dedf491c8350 100644
(file)
--- a/
libs/canvas/framed_curve.cc
+++ b/
libs/canvas/framed_curve.cc
@@
-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 */