Skip to content

Commit

Permalink
patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars
Browse files Browse the repository at this point in the history
Problem:    MS-Windows: vimtutor fails if %TMP% has special chars.
Solution:   Add quotes. (Tamce, closes vim#2561)
  • Loading branch information
brammool committed Jan 26, 2018
1 parent 4aad53c commit 0cbcd94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1431,
/**/
1430,
/**/
Expand Down
2 changes: 1 addition & 1 deletion vimtutor.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:: When that also fails, it uses the English version.

:: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
FOR %%d in (. %TMP% %TEMP%) DO IF EXIST %%d\nul SET TUTORCOPY=%%d\$tutor$
FOR %%d in (. "%TMP%" "%TEMP%") DO IF EXIST %%d\nul SET TUTORCOPY=%%d\$tutor$

SET xx=%1

Expand Down

0 comments on commit 0cbcd94

Please sign in to comment.