summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-16 21:33:40 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-16 21:33:40 +0200
commitb2fe1d676f28af92989a842d4e8708dddf157b3d (patch)
treea391643dc3c279bb4f7885598861a14f5941e4e7
parent4e03933726e3698d962bf7dacdd27f306a4c5086 (diff)
downloadvim-git-8.1.2163.tar.gz
patch 8.1.2163: cannot build with +spell but without +syntaxv8.1.2163
Problem: Cannot build with +spell but without +syntax. Solution: Add #ifdef. (John Marriott)
-rw-r--r--src/drawline.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
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
@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2163,
+/**/
2162,
/**/
2161,