From b2fe1d676f28af92989a842d4e8708dddf157b3d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 16 Oct 2019 21:33:40 +0200 Subject: patch 8.1.2163: cannot build with +spell but without +syntax Problem: Cannot build with +spell but without +syntax. Solution: Add #ifdef. (John Marriott) --- src/drawline.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drawline.c') diff --git a/src/drawline.c b/src/drawline.c index 1415a3177..9a4ff7dc5 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -1421,7 +1421,9 @@ win_line( 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 : -- cgit v1.2.1