patch 7.4.1192
Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John
Marriott)
Solution: Add #ifdef for FEAT_MBYTE.
diff --git a/src/json.c b/src/json.c
index d6507c3..7256a8c 100644
--- a/src/json.c
+++ b/src/json.c
@@ -68,7 +68,12 @@
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
diff --git a/src/version.c b/src/version.c
index e464a42..d9b9eba 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1192,
+/**/
1191,
/**/
1190,