summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-10 21:46:05 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-10 21:46:05 +0200
commite8e307818495d1a5d821df9bd4bde83add0520e5 (patch)
tree3b1b9a4357e868213bda49d7e1c6a622fc01c487
parentfed9e830fcffa90cf73dd125a27d27ed7eafbd68 (diff)
downloadvim-git-e8e307818495d1a5d821df9bd4bde83add0520e5.tar.gz
patch 8.2.2752v8.2.2752
-rw-r--r--src/typval.c5
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/typval.c b/src/typval.c
index cf1208d58..f4af61a17 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 2e0d3132b..d266a1ad2 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,