# HG changeset patch # User Bram Moolenaar # Date 1431575769 -7200 # Node ID f0e7dc5e7282179e6fccba3a11cfb9e2e17300a8 # Parent 9782a8aa2d7f213a9a43615a89abc2b250a2fe20 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 --- a/src/screen.c +++ b/src/screen.c @@ -4715,7 +4715,7 @@ win_line(wp, lnum, startrow, endrow, noc && !(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 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 729, +/**/ 728, /**/ 727,