summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-10-10 15:28:46 +0200
committerBram Moolenaar <Bram@vim.org>2014-10-10 15:28:46 +0200
commit7425b938cb5fc5b12c4342d9c4834c535f5bf772 (patch)
tree435960cda1a3dd2617c144be47f75827bacc7dd7 /src/screen.c
parentf191d55ede59883b09b35bfe92ea6e2a63058369 (diff)
downloadvim-git-7425b938cb5fc5b12c4342d9c4834c535f5bf772.tar.gz
updated for version 7.4.472v7.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)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c1
1 files changed, 1 insertions, 0 deletions
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