Mercurial > vim
diff src/screen.c @ 2724:96a7b564c2f3 v7.3.140
updated for version 7.3.140
Problem: Crash when drawing the "$" at end-of-line for list mode just after
the window border and 'cursorline' is set.
Solution: Don't check for 'cursorline'. (Quentin Carbonneaux)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 22 Mar 2011 13:29:24 +0100 |
parents | bb3661a2eccc |
children | 1bb6776fa8c4 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -5099,11 +5099,7 @@ win_line(wp, lnum, startrow, endrow, noc #ifdef FEAT_DIFF || filler_todo > 0 #endif - || (wp->w_p_list && lcs_eol != NUL && p_extra != at_end_str -#ifdef FEAT_SYN_HL - && !wp->w_p_cul -#endif - ) + || (wp->w_p_list && lcs_eol != NUL && p_extra != at_end_str) || (n_extra != 0 && (c_extra != NUL || *p_extra != NUL))) ) {