From 0481fee48800817bee206bb2f958fe04be4d8db6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 14 May 2015 05:56:09 +0200 Subject: [PATCH] patch 7.4.729 Problem: Occasional crash with 'list' set. Solution: Fix off-by-one error. (Christian Brabandt) --- src/screen.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/screen.c b/src/screen.c index 3f3123adb..917a0eaa9 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 b469a6ddf..355aa06f2 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, /**/ -- 2.40.0