diff options
author | Bram Moolenaar <bram@vim.org> | 2013-11-14 03:54:07 +0100 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-11-14 03:54:07 +0100 |
commit | c271527d0252ae1efedf090e40c94e1913bcb635 (patch) | |
tree | 8189a1188943f3daaef8cd4feee24dd4882a4ec1 | |
parent | 84b94efebb5abe0d232df0028d9ff56fed789049 (diff) | |
download | vim-7.4.092.tar.gz |
Problem: Can't build small version.
Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata)
-rw-r--r-- | src/spell.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 0 deletions
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 @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 92, +/**/ 91, /**/ 90, |