diff src/screen.c @ 6276:af998690a884 v7.4.472

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)
author Bram Moolenaar <bram@vim.org>
date Fri, 10 Oct 2014 15:28:46 +0200
parents 0a4efa3d2019
children 93560d4bca68
line wrap: on
line diff
--- a/src/screen.c
+++ b/src/screen.c
@@ -4901,6 +4901,7 @@ win_line(wp, lnum, startrow, endrow, noc
 	 * 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