diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-06-10 12:16:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-06-10 12:16:47 +0200 |
commit | d710e0d2478e7f813562bfb084406d524bfecd19 (patch) | |
tree | d500457e4d8aec616911a0caf783d20a0ea62ec5 /src/screen.c | |
parent | 6e8d3b0d41bcef7ebe0ba2e887eb25781e1437fe (diff) | |
download | vim-git-d710e0d2478e7f813562bfb084406d524bfecd19.tar.gz |
patch 7.4.738v7.4.738
Problem: Can't compile without the syntax highlighting feature.
Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi)
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/screen.c b/src/screen.c index 917a0eaa9..379b0f433 100644 --- a/src/screen.c +++ b/src/screen.c @@ -3750,24 +3750,24 @@ win_line(wp, lnum, startrow, endrow, nochange) if (draw_state == WL_BRI - 1 && n_extra == 0) { draw_state = WL_BRI; -# ifdef FEAT_DIFF -# endif if (wp->w_p_bri && n_extra == 0 && row != startrow -#ifdef FEAT_DIFF +# ifdef FEAT_DIFF && filler_lines == 0 -#endif +# endif ) { char_attr = 0; /* was: hl_attr(HLF_AT); */ -#ifdef FEAT_DIFF +# ifdef FEAT_DIFF if (diff_hlf != (hlf_T)0) { char_attr = hl_attr(diff_hlf); +# ifdef FEAT_SYN_HL if (wp->w_p_cul && lnum == wp->w_cursor.lnum) char_attr = hl_combine_attr(char_attr, hl_attr(HLF_CUL)); +# endif } -#endif +# endif p_extra = NULL; c_extra = ' '; n_extra = get_breakindent_win(wp, |