]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nr v9.0.1863
authorzeertzjq <zeertzjq@outlook.com>
Mon, 4 Sep 2023 05:54:02 +0000 (07:54 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 4 Sep 2023 05:54:02 +0000 (07:54 +0200)
Problem:  wrong format specifiers in e_aptypes_is_null_str_nr
Solution: Fix the wrong format specifier

closes: #13020

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
src/errors.h
src/strings.c
src/version.c

index 1dfb9ab8fa216e8abf2fd20c9a9c2a169938517e..c0e98df78b82827f045ff53e5685bc35921edd1c 100644 (file)
@@ -3512,6 +3512,6 @@ EXTERN char e_member_str_type_mismatch_expected_str_but_got_str[]
 EXTERN char e_method_str_type_mismatch_expected_str_but_got_str[]
        INIT(= N_("E1407: Member \"%s\": type mismatch, expected %s but got %s"));
 EXTERN char e_aptypes_is_null_str_nr[]
-       INIT(= "E1408: Internal error: ap_types or ap_types[idx] is NULL: %d: %s");
+       INIT(= "E1408: Internal error: ap_types or ap_types[idx] is NULL: %s: %d");
 
 // E1371 - E1399 unused
index cb044ec173955612af4ac9a25e0530583587f1b8..710b1d35ce59d1da211e8b48278b7ed00e239c0c 100644 (file)
@@ -2801,7 +2801,7 @@ skip_to_arg(
 
        if (ap_types == NULL || ap_types[*arg_cur] == NULL)
        {
-           semsg(e_aptypes_is_null_str_nr, fmt, *arg_cur);
+           siemsg(e_aptypes_is_null_str_nr, fmt, *arg_cur);
            return;
        }
 
index 29150a52d0c61c201c104d2fd87fda870ebfe07a..a19b81eb632f239442d9fe02f167c125dbbbb0e3 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1863,
 /**/
     1862,
 /**/