diff --git a/libs/canvas/rectangle.cc b/libs/canvas/rectangle.cc index bc4ad0c960..1b75584849 100644 --- a/libs/canvas/rectangle.cc +++ b/libs/canvas/rectangle.cc @@ -118,8 +118,8 @@ Rectangle::render (Rect const & area, Cairo::RefPtr context) con if (_outline_what & RIGHT) { /* vertical line: move x-coordinate by 0.5 pixels */ - context->move_to (self.x1 + 0.5, self.y0); - context->line_to (self.x1 + 0.5, self.y1); + context->move_to (self.x1 - 0.5, self.y0); + context->line_to (self.x1 - 0.5, self.y1); } }