(x_draw_vertical_border): If left fringe is not present

decrease x coord of vertical border by 1 pixel to not occupy text
area of the right window.
This commit is contained in:
Juri Linkov 2005-06-30 14:56:02 +00:00
parent 27bbbadb3e
commit 74fb229b2a

View file

@ -22400,6 +22400,9 @@ x_draw_vertical_border (w)
window_box_edges (w, -1, &x0, &y0, &x1, &y1);
y1 -= 1;
if (WINDOW_LEFT_FRINGE_WIDTH (w) == 0)
x1 -= 1;
rif->draw_vertical_window_border (w, x1, y0, y1);
}
else if (!WINDOW_LEFTMOST_P (w)
@ -22410,6 +22413,9 @@ x_draw_vertical_border (w)
window_box_edges (w, -1, &x0, &y0, &x1, &y1);
y1 -= 1;
if (WINDOW_LEFT_FRINGE_WIDTH (w) == 0)
x0 -= 1;
rif->draw_vertical_window_border (w, x0, y0, y1);
}
}