one less annoying compiler warning.
[ardour.git] / libs / canvas / rectangle.cc
index bc4ad0c9609862e34903d251a6b2fe458d33af65..1b75584849ef4500300f7afb06741e6b10518fa6 100644 (file)
@@ -118,8 +118,8 @@ Rectangle::render (Rect const & area, Cairo::RefPtr<Cairo::Context> 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);
                        }
                        
                }