patch 7.4.729 Problem: Occasional crash with 'list' set. Solution: Fix off-by-one error. (Christian Brabandt)

This commit is contained in:
Bram Moolenaar
2015-05-14 05:56:21 +02:00
committed by Douglas Drumond
parent 50eef128f1
commit d9a29c1132
2 changed files with 3 additions and 1 deletions
+1 -1
View 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. */
+2
View File
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
729,
/**/
728,
/**/