summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-12-05 09:32:29 +0000
committerBram Moolenaar <Bram@vim.org>2006-12-05 09:32:29 +0000
commit61b974b9ee69aac0bdbc96a5387f511063920614 (patch)
treefd3685c6a6278e287c0cd6159431b8ad54c2d093 /src/eval.c
parent3b1b6c62596a8ad13e31675976d055c2e387c489 (diff)
downloadvim-git-61b974b9ee69aac0bdbc96a5387f511063920614.tar.gz
updated for version 7.0-175v7.0.175
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 53ebc7845..f9177b3b3 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -16073,6 +16073,10 @@ error:
}
}
+ /* add a terminating NUL */
+ ga_grow(&ga, 1);
+ ga_append(&ga, NUL);
+
rettv->vval.v_string = ga.ga_data;
}