# HG changeset patch # User Christian Brabandt # Date 1693807209 -7200 # Node ID 5da7208ea315b7e009617c3245e71f55d62c1347 # Parent 88bf4444ae6ac387f808b87976dc6a4185fd78a2 patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nr Commit: https://github.com/vim/vim/commit/7db89bdc23e53c7bc43af6f1c7281bc69a6a3098 Author: zeertzjq Date: Mon Sep 4 07:54:02 2023 +0200 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 diff --git a/src/errors.h b/src/errors.h --- a/src/errors.h +++ b/src/errors.h @@ -3512,6 +3512,6 @@ EXTERN char e_member_str_type_mismatch_e 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1863, +/**/ 1862, /**/ 1861,