commit | e8e307818495d1a5d821df9bd4bde83add0520e5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 10 21:46:05 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 10 21:46:05 2021 +0200 |
tree | 3b1b9a4357e868213bda49d7e1c6a622fc01c487 | |
parent | fed9e830fcffa90cf73dd125a27d27ed7eafbd68 [diff] [blame] |
patch 8.2.2752
diff --git a/src/typval.c b/src/typval.c index cf1208d..f4af61a 100644 --- a/src/typval.c +++ b/src/typval.c
@@ -367,10 +367,7 @@ return FAIL; if (args[idx].vval.v_string == NULL || *args[idx].vval.v_string == NUL) { - if (idx >= 0) - semsg(_(e_non_empty_string_required_for_argument_nr), idx + 1); - else - emsg(_(e_non_empty_string_required)); + semsg(_(e_non_empty_string_required_for_argument_nr), idx + 1); return FAIL; } return OK;