From b2fe1d676f28af92989a842d4e8708dddf157b3d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 16 Oct 2019 21:33:40 +0200 Subject: [PATCH] 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 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) 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 : diff --git a/src/version.c b/src/version.c index 347e0d584..cfd54a19c 100644 --- a/src/version.c +++ b/src/version.c @@ -753,6 +753,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2163, /**/ 2162, /**/ -- 2.50.1