]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.092 v7.4.092
authorBram Moolenaar <Bram@vim.org>
Thu, 14 Nov 2013 02:54:07 +0000 (03:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 Nov 2013 02:54:07 +0000 (03:54 +0100)
Problem:    Can't build small version.
Solution:   Add #ifdef where the b_cjk flag is used. (Ken Takata)

src/spell.c
src/version.c

index a16a9af526b7ad0ad556f3482140745521d1f50f..6e0d986d7c43d7818d8972693fc843014348ba2e 100644 (file)
@@ -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;
        }
 
index 0e9375a3030cd5981224e8984c958de9eb1d78eb..24a3e8b2107b797e44a818622bdae30e27fd1a67 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    92,
 /**/
     91,
 /**/