commit | b2fe1d676f28af92989a842d4e8708dddf157b3d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Oct 16 21:33:40 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Oct 16 21:33:40 2019 +0200 |
tree | a391643dc3c279bb4f7885598861a14f5941e4e7 | |
parent | 4e03933726e3698d962bf7dacdd27f306a4c5086 [diff] [blame] |
patch 8.1.2163: cannot build with +spell but without +syntax Problem: Cannot build with +spell but without +syntax. Solution: Add #ifdef. (John Marriott)
diff --git a/src/drawline.c b/src/drawline.c index 1415a31..9a4ff7d 100644 --- a/src/drawline.c +++ b/src/drawline.c
@@ -1421,7 +1421,9 @@ syntax_attr = prev_syntax_attr; else { +# ifdef FEAT_SPELL can_spell = TRUE; +# endif syntax_attr = get_syntax_attr((colnr_T)v, # ifdef FEAT_SPELL has_spell ? &can_spell :