changeset 18337:b08dbcb42399 v8.1.2163

patch 8.1.2163: cannot build with +spell but without +syntax Commit: https://github.com/vim/vim/commit/b2fe1d676f28af92989a842d4e8708dddf157b3d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 16 21:33:40 2019 +0200 patch 8.1.2163: cannot build with +spell but without +syntax Problem: Cannot build with +spell but without +syntax. Solution: Add #ifdef. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Oct 2019 21:45:03 +0200
parents 453465f57acc
children 93ce94d4d30c
files src/drawline.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 :
--- 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,