0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 8.1.0534: MS-Windows installer uses different $HOME than Vim

Problem:    MS-Windows installer uses different $HOME than Vim.
Solution:   Use the Vim logic also in the MS-Windows installer. (Ken Takata,
            closes #3564)
This commit is contained in:
Bram Moolenaar
2018-11-16 19:39:50 +01:00
parent 447f6ce8bd
commit 25a494ce60
3 changed files with 111 additions and 13 deletions

View File

@@ -3905,6 +3905,8 @@ vim_beep(
* - do mch_dirname() to get the real name of that directory.
* This also works with mounts and links.
* Don't do this for MS-DOS, it will change the "current dir" for a drive.
* For Windows:
* This code is duplicated in init_homedir() in dosinst.c. Keep in sync!
*/
static char_u *homedir = NULL;