mirror of
https://github.com/vim/vim.git
synced 2025-09-07 22:03:36 -04:00
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.
This commit is contained in:
parent
fcea03ddd3
commit
03e228a623
@ -1773,9 +1773,11 @@ build_shortcut(
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* We used to use "homedir" as the working directory, but that is a bad choice
|
* 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.
|
* Create shortcut(s) in the Start Menu\Programs\Vim folder.
|
||||||
|
@ -738,6 +738,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 */
|
||||||
|
/**/
|
||||||
|
77,
|
||||||
/**/
|
/**/
|
||||||
76,
|
76,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user