patch 8.0.1664: test failure because of not allocating enough space
Problem: Test failure because of not allocating enough space.
Solution: Allocate more bytes.
diff --git a/src/terminal.c b/src/terminal.c
index 86b8647..1d81d8d 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -3192,7 +3192,7 @@
p = get_dict_string(dict, (char_u *)"encoding", FALSE);
if (p != NULL)
{
- ea.cmd = alloc((int)STRLEN(p) + 10);
+ ea.cmd = alloc((int)STRLEN(p) + 12);
if (ea.cmd != NULL)
{
sprintf((char *)ea.cmd, "sbuf ++enc=%s", p);
diff --git a/src/version.c b/src/version.c
index 4d19b47..a9b4dca 100644
--- a/src/version.c
+++ b/src/version.c
@@ -763,6 +763,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1664,
+/**/
1663,
/**/
1662,