From 7db89bdc23e53c7bc43af6f1c7281bc69a6a3098 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 4 Sep 2023 07:54:02 +0200 Subject: [PATCH] patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nr Problem: wrong format specifiers in e_aptypes_is_null_str_nr Solution: Fix the wrong format specifier closes: #13020 Signed-off-by: Christian Brabandt Co-authored-by: zeertzjq --- src/errors.h | 2 +- src/strings.c | 2 +- src/version.c | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/errors.h b/src/errors.h index 1dfb9ab8fa..c0e98df78b 100644 --- a/src/errors.h +++ b/src/errors.h @@ -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 diff --git a/src/strings.c b/src/strings.c index cb044ec173..710b1d35ce 100644 --- a/src/strings.c +++ b/src/strings.c @@ -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; } diff --git a/src/version.c b/src/version.c index 29150a52d0..a19b81eb63 100644 --- a/src/version.c +++ b/src/version.c @@ -699,6 +699,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1863, /**/ 1862, /**/