From 21afabb9e8cf335fb60c027bbb064de07d1bf586 Mon Sep 17 00:00:00 2001 From: Jurica Bradaric Date: Thu, 14 Jan 2016 10:58:12 +0100 Subject: vim-patch:7.4.729 Problem: Occasional crash with 'list' set. Solution: Fix off-by-one error. (Christian Brabandt) --- src/nvim/screen.c | 2 +- src/nvim/version.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 1ae2822a93..700612900a 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -3469,7 +3469,7 @@ win_line ( && !(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. */ /* For a diff line the highlighting continues after the diff --git a/src/nvim/version.c b/src/nvim/version.c index 8c9faac0c3..e221001e35 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -395,7 +395,7 @@ static int included_patches[] = { // 732, // 731 NA // 730 NA - // 729, + 729, // 728 NA // 727 NA // 726 NA -- cgit