mirror of
https://github.com/vim/vim.git
synced 2025-08-31 20:53:42 -04:00
patch 7.4.1192
Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John Marriott) Solution: Add #ifdef for FEAT_MBYTE.
This commit is contained in:
parent
298b440930
commit
fa06a517b5
@ -68,7 +68,12 @@ write_string(garray_T *gap, char_u *str)
|
||||
default:
|
||||
if (c >= 0x20)
|
||||
{
|
||||
#ifdef FEAT_MBYTE
|
||||
numbuf[mb_char2bytes(c, numbuf)] = NUL;
|
||||
#else
|
||||
numbuf[0] = c;
|
||||
numbuf[1] = NUL;
|
||||
#endif
|
||||
ga_concat(gap, numbuf);
|
||||
}
|
||||
else
|
||||
|
@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1192,
|
||||
/**/
|
||||
1191,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user