summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-03-22 13:29:24 +0100
committerBram Moolenaar <Bram@vim.org>2011-03-22 13:29:24 +0100
commite9d4b58dda5ce38389617079722cf9bfcd966599 (patch)
tree16dd471f418bbbee38c43019f65172bbfd12beaa /src/screen.c
parentfd30cd41dc61e293e567ccb83d7ee0ce8fdc14eb (diff)
downloadvim-git-7.3.140.tar.gz
updated for version 7.3.140v7.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)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/screen.c b/src/screen.c
index ab08cf74d..1726fac82 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -5099,11 +5099,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
#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)))
)
{