diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-07 22:29:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-07 22:29:51 +0000 |
commit | a203182302733c0ea98d66ee1f576f251697dc81 (patch) | |
tree | d15b59030f051a7768f77f7a98c860a0387c09fe /src/ex_docmd.c | |
parent | 362e1a30c6f3527d5d0efc328c2fb448290cd6fc (diff) | |
download | vim-git-a203182302733c0ea98d66ee1f576f251697dc81.tar.gz |
updated for version 7.0217
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index e1e5a83c4..31aa4ace9 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2426,7 +2426,7 @@ do_one_cmd(cmdlinep, sourcing, get_flags(&ea); /* no arguments allowed */ if (!ni && !(ea.argt & EXTRA) && *ea.arg != NUL - && vim_strchr((char_u *)"|\"", *ea.arg) == NULL) + && *ea.arg != '"' && (*ea.arg != '|' || (ea.argt & TRLBAR) == 0)) { errormsg = (char_u *)_(e_trailing); goto doend; |