patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars

Problem:    MS-Windows: vimtutor fails if %TMP% has special chars.
Solution:   Add quotes. (Tamce, closes #2561)
This commit is contained in:
Bram Moolenaar 2018-01-26 22:22:55 +01:00
parent 4aad53c369
commit 0cbcd949e1
2 changed files with 3 additions and 1 deletions

View File

@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1431,
/**/
1430,
/**/

View File

@ -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