From: Bram Moolenaar Date: Thu, 14 May 2015 03:56:09 +0000 (+0200) Subject: patch 7.4.729 X-Git-Tag: v7.4.729 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0481fee48800817bee206bb2f958fe04be4d8db6;p=thirdparty%2Fvim.git patch 7.4.729 Problem: Occasional crash with 'list' set. Solution: Fix off-by-one error. (Christian Brabandt) --- diff --git a/src/screen.c b/src/screen.c index 3f3123adbd..917a0eaa92 100644 --- a/src/screen.c +++ b/src/screen.c @@ -4715,7 +4715,7 @@ win_line(wp, lnum, startrow, endrow, nochange) && !(noinvcur && lnum == wp->w_cursor.lnum && (colnr_T)vcol == wp->w_virtcol))) - && lcs_eol_one >= 0) + && lcs_eol_one > 0) { /* Display a '$' after the line or highlight an extra * character if the line break is included. */ diff --git a/src/version.c b/src/version.c index b469a6ddff..355aa06f20 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 729, /**/ 728, /**/