summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-11-16 19:39:50 +0100
committerBram Moolenaar <Bram@vim.org>2018-11-16 19:39:50 +0100
commit25a494ce609f54ce240b1986aad16ca27186d646 (patch)
tree8648a8424608126c02e715927f6873fa6c07eadd /src/misc1.c
parent447f6ce8bd42fe3adbdf97eff9a38a9bfef9eeed (diff)
downloadvim-git-25a494ce609f54ce240b1986aad16ca27186d646.tar.gz
patch 8.1.0534: MS-Windows installer uses different $HOME than Vimv8.1.0534
Problem: MS-Windows installer uses different $HOME than Vim. Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata, closes #3564)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 820f8f994..b1cc21549 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -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;