Mercurial > vim
changeset 13113:1b154b5f247d v8.0.1431
patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars
commit https://github.com/vim/vim/commit/0cbcd949e15ad95171e5b33881d3a30f17073dda
Author: Bram Moolenaar <Bram@vim.org>
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 26 Jan 2018 22:30:06 +0100 |
parents | 2b395caa3880 |
children | d9d636740510 |
files | src/version.c vimtutor.bat |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,
--- 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