From c271527d0252ae1efedf090e40c94e1913bcb635 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 14 Nov 2013 03:54:07 +0100 Subject: updated for version 7.4.092 Problem: Can't build small version. Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata) --- src/spell.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/spell.c b/src/spell.c index a16a9af5..6e0d986d 100644 --- 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 index 0e9375a3..24a3e8b2 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 92, /**/ 91, /**/ -- cgit v1.2.1