Skip to content

Commit c1f9bc0

Browse files
committed
updated for version 7.4.092
Problem: Can't build small version. Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata)
1 parent c6425e6 commit c1f9bc0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/spell.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4234,7 +4234,9 @@ did_set_spelllang(wp)
42344234
if (spl_copy == NULL)
42354235
goto theend;
42364236

4237+
#ifdef FEAT_MBYTE
42374238
wp->w_s->b_cjk = 0;
4239+
#endif
42384240

42394241
/* Loop over comma separated language names. */
42404242
for (splp = spl_copy; *splp != NUL; )
@@ -4246,7 +4248,9 @@ did_set_spelllang(wp)
42464248

42474249
if (STRCMP(lang, "cjk") == 0)
42484250
{
4251+
#ifdef FEAT_MBYTE
42494252
wp->w_s->b_cjk = 1;
4253+
#endif
42504254
continue;
42514255
}
42524256

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
92,
741743
/**/
742744
91,
743745
/**/

0 commit comments

Comments
 (0)