summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-02-27 22:41:14 +0000
committerBram Moolenaar <Bram@vim.org>2005-02-27 22:41:14 +0000
commit2be221fa5e4360675bf8ce4d7d6d57bc475185ca (patch)
treeae365b2ed7225c902fa2488784b961d2f23c0d70
parenta21b29a2fc8f006103f5fe52b9da7da7eca71af5 (diff)
downloadvim-2be221fa5e4360675bf8ce4d7d6d57bc475185ca.zip
updated for version 7.0053
-rw-r--r--src/misc1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 3125dfe34..20890bbb1 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3628,6 +3628,7 @@ vim_getenv(name, mustfree)
if (pp != NULL)
{
p = pp;
+ p[len] = NUL;
*mustfree = TRUE;
}
}