]> granicus.if.org Git - vim/commitdiff
updated for version 7.0053
authorBram Moolenaar <Bram@vim.org>
Sun, 27 Feb 2005 22:41:14 +0000 (22:41 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 27 Feb 2005 22:41:14 +0000 (22:41 +0000)
src/misc1.c

index 3125dfe341fa3ffbc86479864853d16b47b7dc69..20890bbb11ee24d8d6ab768f7033467e4d77dbf8 100644 (file)
@@ -3628,6 +3628,7 @@ vim_getenv(name, mustfree)
            if (pp != NULL)
            {
                p = pp;
+               p[len] = NUL;
                *mustfree = TRUE;
            }
        }