diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-05 21:04:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-05 21:04:15 +0200 |
commit | 3aa67fb453373109132b71eeb488595d651dfb7d (patch) | |
tree | df72d9a51df9296f5eccb65e106f5f25eec6dd8e /src | |
parent | 86676c949fcec939441620bc747851e315e2702a (diff) | |
download | vim-git-3aa67fb453373109132b71eeb488595d651dfb7d.tar.gz |
patch 8.0.1664: test failure because of not allocating enough spacev8.0.1664
Problem: Test failure because of not allocating enough space.
Solution: Allocate more bytes.
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c index 86b86474e..1d81d8db5 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -3192,7 +3192,7 @@ handle_drop_command(listitem_T *item) 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 4d19b47b5..a9b4dca75 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1664, +/**/ 1663, /**/ 1662, |