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 | 2593e037c9e9a00ebd86fa3f8a8011c39511c314 (patch) | |
tree | c60e6183d7458ce38e2160b7828d2eeb9c1f2997 /src/spell.c | |
parent | e874744e94e172d33edd91ccb0f5cdf5105b6be3 (diff) | |
download | vim-2593e037c9e9a00ebd86fa3f8a8011c39511c314.zip |
updated for version 7.4.092
Problem: Can't build small version.
Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata)
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spell.c b/src/spell.c index a16a9af52..6e0d986d7 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; } |