From: Bram Moolenaar Date: Thu, 7 Nov 2013 03:49:27 +0000 (+0100) Subject: updated for version 7.4.077 X-Git-Tag: v7.4.077 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03e228a623304c0afed231ad1605153dd56335be;p=vim updated for version 7.4.077 Problem: DOS installer creates shortcut without a path, resulting in the current directory to be C:\Windows\system32. Solution: Use environment variables. --- diff --git a/src/dosinst.c b/src/dosinst.c index 3c5e59bd5..3fbfb5c5c 100644 --- a/src/dosinst.c +++ b/src/dosinst.c @@ -1773,9 +1773,11 @@ build_shortcut( /* * We used to use "homedir" as the working directory, but that is a bad choice - * on multi-user systems. Not specifying a directory appears to work best. + * on multi-user systems. However, not specifying a directory results in the + * current directory to be c:\Windows\system32 on Windows 7. Use environment + * variables instead. */ -#define WORKDIR "" +#define WORKDIR "%HOMEDRIVE%%HOMEPATH%" /* * Create shortcut(s) in the Start Menu\Programs\Vim folder. diff --git a/src/version.c b/src/version.c index 770b3c8db..6e11f7da1 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 77, /**/ 76, /**/