summaryrefslogtreecommitdiff
path: root/src/vimrun.c
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 /src/vimrun.c
parentd1b15dec4d00d7ed5e92ff4e0fb7fc2e0818e479 (diff)
downloadvim-git-f59c73da1e8eb16e7b49b4465aedd1d6ddacc6fd.tar.gz
patch 7.4.894v7.4.894
Problem: vimrun.exe is picky about the number of spaces before -s. Solution: Skip all spaces. (Cam Sinclair)
Diffstat (limited to 'src/vimrun.c')
-rw-r--r--src/vimrun.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vimrun.c b/src/vimrun.c
index c423e6cc5..0006479b0 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.