# HG changeset patch # User Bram Moolenaar # Date 1571255103 -7200 # Node ID b08dbcb42399ff11ec07bbfa9effde605f2fd364 # Parent 453465f57acc218d39d58f18444c903b9afbdfa3 patch 8.1.2163: cannot build with +spell but without +syntax Commit: https://github.com/vim/vim/commit/b2fe1d676f28af92989a842d4e8708dddf157b3d Author: Bram Moolenaar 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) diff --git a/src/drawline.c b/src/drawline.c --- 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 --- 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,