Mercurial > vim
changeset 1439:a5b3a7fb6a5a v7.1.154
updated for version 7.1-154
author | vimboss |
---|---|
date | Thu, 08 Nov 2007 20:24:19 +0000 |
parents | c7654c4db8fd |
children | 93ffa40b5320 |
files | src/screen.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -4315,7 +4315,7 @@ win_line(wp, lnum, startrow, endrow, noc long prevcol = (long)(ptr - line) - (c == NUL); /* we're not really at that column when skipping some text */ - if ((wp->w_p_wrap ? wp->w_skipcol : wp->w_leftcol) > prevcol) + if ((long)(wp->w_p_wrap ? wp->w_skipcol : wp->w_leftcol) > prevcol) ++prevcol; #endif