]> granicus.if.org Git - vim/commitdiff
patch 8.2.2752 v8.2.2752
authorBram Moolenaar <Bram@vim.org>
Sat, 10 Apr 2021 19:46:05 +0000 (21:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 10 Apr 2021 19:46:05 +0000 (21:46 +0200)
src/typval.c
src/version.c

index cf1208d58670c4acb7c26cae9d158f60e734187d..f4af61a1731a83360100fc6f1885d1ad72b9c01c 100644 (file)
@@ -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;
index 2e0d3132bfbd152aeca632edfd71bb03e6161b66..d266a1ad2eab9d52836d61d3522e451d8cfb9a77 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2752,
 /**/
     2751,
 /**/