From: Bram Moolenaar Date: Fri, 26 Jan 2018 21:22:55 +0000 (+0100) Subject: patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars X-Git-Tag: v8.0.1431 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cbcd949e15ad95171e5b33881d3a30f17073dda;p=vim 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) --- diff --git a/src/version.c b/src/version.c index 7786474d3..6362b5527 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1431, /**/ 1430, /**/ diff --git a/vimtutor.bat b/vimtutor.bat index a670b0e31..0cab3c3bb 100644 --- a/vimtutor.bat +++ b/vimtutor.bat @@ -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