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:
@@ -3470,7 +3470,9 @@ init_homedir()
|
|||||||
|
|
||||||
homedrive = mch_getenv((char_u *)"HOMEDRIVE");
|
homedrive = mch_getenv((char_u *)"HOMEDRIVE");
|
||||||
homepath = mch_getenv((char_u *)"HOMEPATH");
|
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)
|
&& STRLEN(homedrive) + STRLEN(homepath) < MAXPATHL)
|
||||||
{
|
{
|
||||||
sprintf((char *)NameBuff, "%s%s", homedrive, homepath);
|
sprintf((char *)NameBuff, "%s%s", homedrive, homepath);
|
||||||
|
@@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
326,
|
||||||
/**/
|
/**/
|
||||||
325,
|
325,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user