]> granicus.if.org Git - vim/commitdiff
patch 8.1.2163: cannot build with +spell but without +syntax v8.1.2163
authorBram Moolenaar <Bram@vim.org>
Wed, 16 Oct 2019 19:33:40 +0000 (21:33 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 16 Oct 2019 19:33:40 +0000 (21:33 +0200)
Problem:    Cannot build with +spell but without +syntax.
Solution:   Add #ifdef. (John Marriott)

src/drawline.c
src/version.c

index 1415a3177f3c823793d837ce052dbad3ee8c1ccc..9a4ff7dc5d9d0ef4e0e9d80edd6cee8563d3ec3d 100644 (file)
@@ -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 :
index 347e0d58446cc91b234f846039679863b2b666c9..cfd54a19ccdb64c7ac0c68ced28819d3e21440d5 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2163,
 /**/
     2162,
 /**/