From 7425b938cb5fc5b12c4342d9c4834c535f5bf772 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Fri, 10 Oct 2014 15:28:46 +0200 Subject: [PATCH] updated for version 7.4.472 Problem: The "precedes" entry in 'listchar' will be drawn when 'showbreak is set and list is not. Solution: Only draw this character when 'list' is on. (Christian Brabandt) --- src/screen.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/screen.c b/src/screen.c index fae2703f7..36afc2dcd 100644 --- a/src/screen.c +++ b/src/screen.c @@ -4901,6 +4901,7 @@ win_line(wp, lnum, startrow, endrow, nochange) * special character (via 'listchars' option "precedes:<char>". */ if (lcs_prec_todo != NUL + && wp->w_p_list && (wp->w_p_wrap ? wp->w_skipcol > 0 : wp->w_leftcol > 0) #ifdef FEAT_DIFF && filler_todo <= 0 diff --git a/src/version.c b/src/version.c index 3be907b11..f22d195a1 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 472, /**/ 471, /**/ -- 2.40.0