summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-17 23:19:38 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-17 23:19:38 +0000
commitca003e1e4f94b4d0d9e0e1dda6cdf9d6045d14fb (patch)
tree97f7150d48975a7bd973de8c098a530c8a265664 /src/screen.c
parent68f1a4864760dd13df508ebe6ceadd1d5bb5462c (diff)
downloadvim-git-ca003e1e4f94b4d0d9e0e1dda6cdf9d6045d14fb.tar.gz
updated for version 7.0227
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c4
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)
{