]> granicus.if.org Git - vim/commitdiff
updated for version 7.2.326 v7.2.326
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Jan 2010 16:53:38 +0000 (17:53 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Jan 2010 16:53:38 +0000 (17:53 +0100)
src/misc1.c
src/version.c

index 3da0d9aef507809d5cc80ff7586be2244f77df1a..6b6f33991236a7ffcb906b83dc5f1f3a459648bb 100644 (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);
index c3172934507e0d26b9d8bc0c0c545bc11370224a..1580b314c8f856b97dd5d1b6fd0bebace2fe80d7 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    326,
 /**/
     325,
 /**/