When in an RTL locale, the last (ie leftmost) vertical gridline was omitted.
This change corrects that.
Reported by: Mohammad Haghighat <hosseinhg@hotmail.com>
if (! column->visible)
continue;
if (! column->visible)
continue;
+ if (!rtl)
+ x += column->width;
cairo_set_line_width (cr, 1.0);
cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
cairo_move_to (cr, x + 0.5, min_y);
cairo_line_to (cr, x + 0.5, max_y - min_y - 0.5);
cairo_stroke (cr);
cairo_set_line_width (cr, 1.0);
cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
cairo_move_to (cr, x + 0.5, min_y);
cairo_line_to (cr, x + 0.5, max_y - min_y - 0.5);
cairo_stroke (cr);
+
+ if (rtl)
+ x += column->width;