Skip to content

Commit 7709d79

Browse files
committed
updated for version 7.4.112
Problem: The defaults for 'directory' and 'backupdir' on MS-Windows do not include a directory that exists. Solution: Use $TEMP.
1 parent b015ccb commit 7709d79

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/os_dos.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
109109
#endif
110110

111111
#ifndef DFLT_BDIR
112-
# define DFLT_BDIR ".,c:\\tmp,c:\\temp" /* default for 'backupdir' */
112+
# define DFLT_BDIR ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'backupdir' */
113113
#endif
114114

115115
#ifndef DFLT_VDIR
116116
# define DFLT_VDIR "$VIM/vimfiles/view" /* default for 'viewdir' */
117117
#endif
118118

119119
#ifndef DFLT_DIR
120-
# define DFLT_DIR ".,c:\\tmp,c:\\temp" /* default for 'directory' */
120+
# define DFLT_DIR ".,$TEMP,c:\\tmp,c:\\temp" /* default for 'directory' */
121121
#endif
122122

123123
#define DFLT_ERRORFILE "errors.err"

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
112,
741743
/**/
742744
111,
743745
/**/

0 commit comments

Comments
 (0)