]> granicus.if.org Git - vim/commitdiff
patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces v8.2.3441
authorChristian Brabandt <cb@256bit.org>
Wed, 15 Sep 2021 10:53:40 +0000 (12:53 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 15 Sep 2021 10:53:40 +0000 (12:53 +0200)
Problem:    MS-Windows: vimtutor can't handle path with spaces.
Solution:   Add double quotes. (Christian Brabandt, closes #8871)

src/version.c
vimtutor.bat

index 0598475082c271ca51ced342bfe0f20293465e38..7c8a254fea5b9a6e188d10ee18a9ac331de08dd9 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3441,
 /**/
     3440,
 /**/
index 0387e989ebaef5175bfb44630cbbb343ec3197df..da0940a34c37a0b790a7197d87fe89e6f9454351 100644 (file)
@@ -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
 )