Mercurial > vim
changeset 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 | 2e72d84e8965 |
children | 6f63330ec225 |
files | src/screen.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 5 deletions(-) [+] |
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))) ) {