]> granicus.if.org Git - vim/commitdiff
patch 7.4.894 v7.4.894
authorBram Moolenaar <Bram@vim.org>
Tue, 13 Oct 2015 15:52:59 +0000 (17:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 13 Oct 2015 15:52:59 +0000 (17:52 +0200)
Problem:    vimrun.exe is picky about the number of spaces before -s.
Solution:   Skip all spaces. (Cam Sinclair)

src/version.c
src/vimrun.c

index 3c8a9382aaefc95854f4f5feb5b56b5045194565..ee4908109040525e84d7a1fe241126d338130231 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    894,
 /**/
     893,
 /**/
index c423e6cc5fb72b2040361021124c9e5edd3ba70f..0006479b03bce18cf08e1d989c2843fb9932d050 100644 (file)
@@ -79,6 +79,8 @@ main(void)
        }
        ++p;
     }
+    while (*p == ' ')
+        ++p;
 
     /*
      * "-s" argument: don't wait for a key hit.