changeset 5485:1b4cb2c6b285 v7.4.092

updated for version 7.4.092 Problem: Can't build small version. Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Thu, 14 Nov 2013 03:54:07 +0100
parents 34a3b852ec05
children 9e889411dff8
files src/spell.c src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}
 
--- 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,