summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-10-13 17:52:59 +0200
committerBram Moolenaar <Bram@vim.org>2015-10-13 17:52:59 +0200
commitf59c73da1e8eb16e7b49b4465aedd1d6ddacc6fd (patch)
tree638a75bc6b723c23c9e0ac77bae1ee4c6e34b798
parentd1b15dec4d00d7ed5e92ff4e0fb7fc2e0818e479 (diff)
patch 7.4.894v7.4.894
Problem: vimrun.exe is picky about the number of spaces before -s. Solution: Skip all spaces. (Cam Sinclair)
-rw-r--r--src/version.c2
-rw-r--r--src/vimrun.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index 3c8a9382aa..ee49081090 100644
--- 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,
diff --git a/src/vimrun.c b/src/vimrun.c
index c423e6cc5f..0006479b03 100644
--- 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.