diff src/misc1.c @ 15046:c1be7c8bb602 v8.1.0534

patch 8.1.0534: MS-Windows installer uses different $HOME than Vim commit https://github.com/vim/vim/commit/25a494ce609f54ce240b1986aad16ca27186d646 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 16 19:39:50 2018 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Nov 2018 19:45:05 +0100
parents c97b4b537572
children 6e9f37bf987b
line wrap: on
line diff
--- 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;