diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-17 23:19:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-17 23:19:38 +0000 |
commit | ca003e1e4f94b4d0d9e0e1dda6cdf9d6045d14fb (patch) | |
tree | 97f7150d48975a7bd973de8c098a530c8a265664 /src/screen.c | |
parent | 68f1a4864760dd13df508ebe6ceadd1d5bb5462c (diff) | |
download | vim-git-ca003e1e4f94b4d0d9e0e1dda6cdf9d6045d14fb.tar.gz |
updated for version 7.0227
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index 6de791d5b..fbc3fee51 100644 --- a/src/screen.c +++ b/src/screen.c @@ -4296,7 +4296,7 @@ win_line(wp, lnum, startrow, endrow, nochange) ScreenLinesUC[off] = 0; #endif ++col; - if (vcol == wp->w_virtcol) + if (vcol == (long)wp->w_virtcol) { ScreenAttrs[off] = hl_attr(HLF_CUC); break; @@ -4360,7 +4360,7 @@ win_line(wp, lnum, startrow, endrow, nochange) #ifdef FEAT_SYN_HL /* Highlight the cursor column if 'cursorcolumn' is set. But don't * highlight the cursor position itself. */ - if (wp->w_p_cuc && vcol == wp->w_virtcol + if (wp->w_p_cuc && vcol == (long)wp->w_virtcol && lnum != wp->w_cursor.lnum && draw_state == WL_LINE) { |