Mercurial > vim
diff src/screen.c @ 777:f664cc974a7a
updated for version 7.0227
author | vimboss |
---|---|
date | Fri, 17 Mar 2006 23:19:38 +0000 |
parents | f0d0d3d3a1e2 |
children | 95dac6af3b3a |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -4296,7 +4296,7 @@ win_line(wp, lnum, startrow, endrow, noc 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, noc #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) {