]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.472 v7.4.472
authorBram Moolenaar <Bram@vim.org>
Fri, 10 Oct 2014 13:28:46 +0000 (15:28 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 10 Oct 2014 13:28:46 +0000 (15:28 +0200)
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
src/version.c

index fae2703f71b13e33a8fba7ad23c49b56ab2d4fa1..36afc2dcda69a0a8f7aca025fc32b9e71686a9bb 100644 (file)
@@ -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
index 3be907b118646db38aedd4f7574830bae362ef6b..f22d195a1b12bd8dcfee9de3e1acc32746917849 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    472,
 /**/
     471,
 /**/