summaryrefslogtreecommitdiffstats
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 3ad1a623e5..6135657fa2 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -5425,7 +5425,8 @@ draw_under(int flags, int row, int col, int cells)
cairo_set_source_rgba(cr,
gui.spcolor->red, gui.spcolor->green, gui.spcolor->blue,
gui.spcolor->alpha);
- for (i = FILL_X(col); i < FILL_X(col + cells); ++i)
+ cairo_move_to(cr, FILL_X(col) + 1, y - 2 + 0.5);
+ for (i = FILL_X(col) + 1; i < FILL_X(col + cells); ++i)
{
offset = val[i % 8];
cairo_line_to(cr, i, y - offset + 0.5);