summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-14 03:54:07 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-14 03:54:07 +0100
commit2593e037c9e9a00ebd86fa3f8a8011c39511c314 (patch)
treec60e6183d7458ce38e2160b7828d2eeb9c1f2997 /src
parente874744e94e172d33edd91ccb0f5cdf5105b6be3 (diff)
downloadvim-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')
-rw-r--r--src/spell.c4
-rw-r--r--src/version.c2
2 files changed, 6 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;
}
diff --git a/src/version.c b/src/version.c
index 0e9375a30..24a3e8b21 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,