summaryrefslogtreecommitdiff
path: root/libs/canvas
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-04-08 03:46:02 +0200
committerRobin Gareus <robin@gareus.org>2019-04-08 04:10:04 +0200
commit46f0b75e124e5c017e0fe1790769c2d2f28e7918 (patch)
tree313fa2293a605f45e0fda25581e5ab3a87218a6a /libs/canvas
parent889bd35f4fa390d33dc3f280a919495e6483611e (diff)
Undo more incorrect sample/frame replacements
Diffstat (limited to 'libs/canvas')
-rw-r--r--libs/canvas/framed_curve.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/canvas/framed_curve.cc b/libs/canvas/framed_curve.cc
index 2d22387fa4..66145f7183 100644
--- a/libs/canvas/framed_curve.cc
+++ b/libs/canvas/framed_curve.cc
@@ -255,7 +255,7 @@ FramedCurve::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) c
break;
case Inside:
context->stroke_preserve ();
- /* close the sample, possibly using the last _point's x rather than samples[right].x */
+ /* close the frame, possibly using the last _point's x rather than samples[right].x */
window_space = item_to_window (Duple (last_sample.x, draw.height()));
context->line_to (window_space.x, window_space.y);
window_space = item_to_window (Duple (first_sample.x, draw.height()));