summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-01-13 16:12:10 +0000
committerBram Moolenaar <Bram@vim.org>2008-01-13 16:12:10 +0000
commit332fa0c55acb78cf5123a0f083fa8ba470294130 (patch)
tree1759831738ee5084a379c09382737b26e3278d82 /src
parenta6c2c91d3283009f79ccfe8625131b36c472dec5 (diff)
updated for version 7.1-226v7.1.226
Diffstat (limited to 'src')
-rw-r--r--src/ex_docmd.c9
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 4 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index d7ef7d5cb9..6d036ff47d 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3338,12 +3338,13 @@ set_one_cmd_context(xp, buff)
}
in_quote = !in_quote;
}
+ /* An argument can contain just about everything, except
+ * characters that end the command and white space. */
+ else if (c == '|' || c == '\n' || c == '"' || (vim_iswhite(c)
#ifdef SPACE_IN_FILENAME
- else if (!vim_isfilec_or_wc(c)
- && (!(ea.argt & NOSPC) || usefilter))
-#else
- else if (!vim_isfilec_or_wc(c))
+ && (!(ea.argt & NOSPC) || usefilter)
#endif
+ ))
{
while (*p != NUL)
{
diff --git a/src/version.c b/src/version.c
index 34003b9666..7ba507f75d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 226,
+/**/
225,
/**/
224,