diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/computil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index c47914db7..483823798 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -1339,7 +1339,7 @@ ca_parse_line(Cadef d, int multi) state.nargbeg = cur - 1; state.argend = argend; } - if (!d->args && !d->rest && *line != '-' && *line != '+') + if (!d->args && !d->rest && *line && *line != '-' && *line != '+') return 1; if ((adef = state.def = ca_get_arg(d, state.nth)) && (state.def->type == CAA_RREST || |