diff options
-rw-r--r-- | src/typval.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/typval.c b/src/typval.c index cf1208d586..f4af61a173 100644 --- a/src/typval.c +++ b/src/typval.c @@ -367,10 +367,7 @@ check_for_nonempty_string_arg(typval_T *args, int idx) 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; diff --git a/src/version.c b/src/version.c index 2e0d3132bf..d266a1ad2e 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2752, +/**/ 2751, /**/ 2750, |