changeset 25812:79aaaa134298 v8.2.3441

patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces Commit: https://github.com/vim/vim/commit/ee2cbcd99c54d7c4a3ccfaf0cd5ddeb1369a844e Author: Christian Brabandt <cb@256bit.org> Date: Wed Sep 15 12:53:40 2021 +0200 patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces Problem: MS-Windows: vimtutor can't handle path with spaces. Solution: Add double quotes. (Christian Brabandt, closes https://github.com/vim/vim/issues/8871)
author Bram Moolenaar <Bram@vim.org>
date Wed, 15 Sep 2021 13:00:06 +0200
parents c80c8cbb6d4d
children 2577687dbdcf
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
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3441,
+/**/
     3440,
 /**/
     3439,
--- 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
 )