Mercurial > vim
diff src/screen.c @ 530:339999b511a0 v7.0148
updated for version 7.0148
author | vimboss |
---|---|
date | Fri, 16 Sep 2005 21:55:43 +0000 |
parents | d50452846776 |
children | c6296b0ad9ea |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -2931,7 +2931,7 @@ win_line(wp, lnum, startrow, endrow) wp->w_cursor.lnum = lnum; wp->w_cursor.col = ptr - line; len = spell_move_to(wp, FORWARD, TRUE, TRUE, &spell_attr); - if (len == 0 || wp->w_cursor.col > ptr - line) + if (len == 0 || (int)wp->w_cursor.col > ptr - line) { /* no bad word found at line start, don't check until end of a * word */