summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2021-09-15 12:53:40 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-15 12:53:40 +0200
commitee2cbcd99c54d7c4a3ccfaf0cd5ddeb1369a844e (patch)
treed0d0fb4b18dff6b9063b62f07948f8078b0eaa1c
parentf2a8bafa4b815e5b4e50a25c2b3a8a24fbe8aa11 (diff)
patch 8.2.3441: MS-Windows: vimtutor can't handle path with spacesv8.2.3441
Problem: MS-Windows: vimtutor can't handle path with spaces. Solution: Add double quotes. (Christian Brabandt, closes #8871)
-rw-r--r--src/version.c2
-rw-r--r--vimtutor.bat2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c
index 0598475082..7c8a254fea 100644
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3441,
+/**/
3440,
/**/
3439,
diff --git a/vimtutor.bat b/vimtutor.bat
index 0387e989eb..da0940a34c 100644
--- a/vimtutor.bat
+++ b/vimtutor.bat
@@ -11,7 +11,7 @@
:: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
FOR %%d in (. %TMP% %TEMP%) DO (
- call :test_dir_writable %~dpf0 %%d
+ call :test_dir_writable "%~dpf0" %%d
IF NOT ERRORLEVEL 1 GOTO dir_ok
)