# HG changeset patch # User vimboss # Date 1194553459 0 # Node ID a5b3a7fb6a5a0f1857b8d0eec380aa7a0f780729 # Parent c7654c4db8fd57c397bdfd3b3142632a4e761f32 updated for version 7.1-154 diff --git a/src/screen.c b/src/screen.c --- 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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 154, +/**/ 153, /**/ 152,