]> granicus.if.org Git - vim/commitdiff
patch 7.4.729 v7.4.729
authorBram Moolenaar <Bram@vim.org>
Thu, 14 May 2015 03:56:09 +0000 (05:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 May 2015 03:56:09 +0000 (05:56 +0200)
Problem:    Occasional crash with 'list' set.
Solution:   Fix off-by-one error. (Christian Brabandt)

src/screen.c
src/version.c

index 3f3123adbd7c2d713ec996fd93d63b2f58487954..917a0eaa923a9dca18407b1c5e3235961954a87a 100644 (file)
@@ -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. */
index b469a6ddff1aa57020e22cc4ade435f5e75889a0..355aa06f20729639e6283f72dad459882b2553a9 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    729,
 /**/
     728,
 /**/