Mercurial > vim
changeset 6815:f0e7dc5e7282 v7.4.729
patch 7.4.729
Problem: Occasional crash with 'list' set.
Solution: Fix off-by-one error. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 14 May 2015 05:56:09 +0200 |
parents | 9782a8aa2d7f |
children | ca3db36a6ed8 |
files | src/screen.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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. */