# HG changeset patch # User Christian Brabandt # Date 1517002206 -3600 # Node ID 1b154b5f247d8897dd39bc1fe85b67ad0ba39c02 # Parent 2b395caa38800c1b50cd6c46c5e4024357afa7f8 patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars commit https://github.com/vim/vim/commit/0cbcd949e15ad95171e5b33881d3a30f17073dda Author: Bram Moolenaar Date: Fri Jan 26 22:22:55 2018 +0100 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 https://github.com/vim/vim/issues/2561) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1431, +/**/ 1430, /**/ 1429, diff --git a/vimtutor.bat b/vimtutor.bat --- 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