summaryrefslogtreecommitdiff
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index c3f26b64c..74d56427c 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -2738,7 +2738,7 @@ ex_args(exarg_T *eap)
alist_new();
}
- if (!ends_excmd(*eap->arg))
+ if (*eap->arg != NUL)
{
/*
* ":args file ..": define new argument list, handle like ":next"