comparison src/drawline.c @ 18331:3e657635ca36 v8.1.2160

patch 8.1.2160: cannot build with +syntax but without +terminal Commit: https://github.com/vim/vim/commit/a6cc5beb1705359828a45b91402c34640f4e756a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 18:42:26 2019 +0200 patch 8.1.2160: cannot build with +syntax but without +terminal Problem: Cannot build with +syntax but without +terminal. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 18:45:04 +0200
parents 0e9d3a77c624
children b08dbcb42399
comparison
equal deleted inserted replaced
18330:6f41e4d7a05a 18331:3e657635ca36
1515 win_attr, text_prop_attr); 1515 win_attr, text_prop_attr);
1516 } 1516 }
1517 else 1517 else
1518 #endif 1518 #endif
1519 #ifdef FEAT_SYN_HL 1519 #ifdef FEAT_SYN_HL
1520 if (has_syntax || get_term_attr) 1520 if (has_syntax
1521 char_attr = syntax_attr; 1521 # ifdef FEAT_TERMINAL
1522 || get_term_attr
1523 # endif
1524 )
1525 char_attr = syntax_attr;
1522 else 1526 else
1523 #endif 1527 #endif
1524 char_attr = 0; 1528 char_attr = 0;
1525 } 1529 }
1526 } 1530 }