Patch 8.1.2160

6 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 16, 2019, 12:43:25 PM10/16/19
to vim...@googlegroups.com

Patch 8.1.2160
Problem: Cannot build with +syntax but without +terminal.
Solution: Add #ifdef.
Files: src/drawline.c


*** ../vim-8.1.2159/src/drawline.c 2019-10-16 18:11:13.706363954 +0200
--- src/drawline.c 2019-10-16 18:41:07.642691457 +0200
***************
*** 1517,1524 ****
else
#endif
#ifdef FEAT_SYN_HL
! if (has_syntax || get_term_attr)
! char_attr = syntax_attr;
else
#endif
char_attr = 0;
--- 1517,1528 ----
else
#endif
#ifdef FEAT_SYN_HL
! if (has_syntax
! # ifdef FEAT_TERMINAL
! || get_term_attr
! # endif
! )
! char_attr = syntax_attr;
else
#endif
char_attr = 0;
*** ../vim-8.1.2159/src/version.c 2019-10-16 18:34:55.840287588 +0200
--- src/version.c 2019-10-16 18:42:00.026466601 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 2160,
/**/

--
LETTERS TO THE EDITOR (The Times of London)

Dear Sir,

I am firmly opposed to the spread of microchips either to the home or
to the office.  We have more than enough of them foisted upon us in
public places.  They are a disgusting Americanism, and can only result
in the farmers being forced to grow smaller potatoes, which in turn
will cause massive unemployment in the already severely depressed
agricultural industry.

Yours faithfully,
        Capt. Quinton D'Arcy, J. P.
        Sevenoaks

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages