0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.2.326

This commit is contained in:
Bram Moolenaar
2010-01-06 17:53:38 +01:00
parent 70d60e9da1
commit 6f97701373
2 changed files with 5 additions and 1 deletions

View File

@@ -3470,7 +3470,9 @@ init_homedir()
homedrive = mch_getenv((char_u *)"HOMEDRIVE");
homepath = mch_getenv((char_u *)"HOMEPATH");
if (homedrive != NULL && homepath != NULL
if (homepath == NULL || *homepath == NUL)
homepath = "\\";
if (homedrive != NULL
&& STRLEN(homedrive) + STRLEN(homepath) < MAXPATHL)
{
sprintf((char *)NameBuff, "%s%s", homedrive, homepath);

View File

@@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
326,
/**/
325,
/**/