0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.0042

This commit is contained in:
Bram Moolenaar
2005-01-19 22:18:32 +00:00
parent c92ad2e2c2
commit 383f9bc302
34 changed files with 463 additions and 56 deletions

View File

@@ -1924,8 +1924,8 @@ win_draw_end(wp, c1, c2, row, endrow, hl)
if (n > 0)
{
/* draw the fold column at the right */
if (n > wp->w_width)
n = wp->w_width;
if (n > W_WIDTH(wp))
n = W_WIDTH(wp);
screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
W_ENDCOL(wp) - n, (int)W_ENDCOL(wp),
' ', ' ', hl_attr(HLF_FC));
@@ -1937,8 +1937,8 @@ win_draw_end(wp, c1, c2, row, endrow, hl)
int nn = n + 2;
/* draw the sign column left of the fold column */
if (nn > wp->w_width)
nn = wp->w_width;
if (nn > W_WIDTH(wp))
nn = W_WIDTH(wp);
screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
W_ENDCOL(wp) - nn, (int)W_ENDCOL(wp) - n,
' ', ' ', hl_attr(HLF_SC));