commit | 0481fee48800817bee206bb2f958fe04be4d8db6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu May 14 05:56:09 2015 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 14 05:56:09 2015 +0200 |
tree | c5a2586bd4b7e1160c5858e447c4af3e8f3a1e44 | |
parent | 4270496716fe851213e03bea7bd4368cc01ff807 [diff] [blame] |
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 3f3123a..917a0ea 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -4715,7 +4715,7 @@ && !(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. */