# HG changeset patch # User Bram Moolenaar # Date 1384397647 -3600 # Node ID 1b4cb2c6b285265da4ffbe242af35a73e1b118e6 # Parent 34a3b852ec058ea7022952f8b42228d331182761 updated for version 7.4.092 Problem: Can't build small version. Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata) diff --git a/src/spell.c b/src/spell.c --- a/src/spell.c +++ b/src/spell.c @@ -4234,7 +4234,9 @@ did_set_spelllang(wp) if (spl_copy == NULL) goto theend; +#ifdef FEAT_MBYTE wp->w_s->b_cjk = 0; +#endif /* Loop over comma separated language names. */ for (splp = spl_copy; *splp != NUL; ) @@ -4246,7 +4248,9 @@ did_set_spelllang(wp) if (STRCMP(lang, "cjk") == 0) { +#ifdef FEAT_MBYTE wp->w_s->b_cjk = 1; +#endif continue; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 92, +/**/ 91, /**/ 90,