changeset 7166:fbec41e5651e v7.4.894

commit https://github.com/vim/vim/commit/f59c73da1e8eb16e7b49b4465aedd1d6ddacc6fd Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 13 17:52:59 2015 +0200 patch 7.4.894 Problem: vimrun.exe is picky about the number of spaces before -s. Solution: Skip all spaces. (Cam Sinclair)
author Christian Brabandt <cb@256bit.org>
date Tue, 13 Oct 2015 18:00:05 +0200
parents dd45266c153d
children aa92e9acfb6f
files src/version.c src/vimrun.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    894,
+/**/
     893,
 /**/
     892,
--- a/src/vimrun.c
+++ b/src/vimrun.c
@@ -79,6 +79,8 @@ main(void)
 	}
 	++p;
     }
+    while (*p == ' ')
+        ++p;
 
     /*
      * "-s" argument: don't wait for a key hit.