From: Bram Moolenaar Date: Wed, 6 Jan 2010 16:53:38 +0000 (+0100) Subject: updated for version 7.2.326 X-Git-Tag: v7.2.326 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f9770137369e00bdad6fe9dcfe282cac4dd8c40;p=vim updated for version 7.2.326 --- diff --git a/src/misc1.c b/src/misc1.c index 3da0d9aef..6b6f33991 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -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); diff --git a/src/version.c b/src/version.c index c31729345..1580b314c 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 326, /**/ 325, /**/