changeset 33162:5da7208ea315 v9.0.1863

patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nr Commit: https://github.com/vim/vim/commit/7db89bdc23e53c7bc43af6f1c7281bc69a6a3098 Author: zeertzjq <zeertzjq@outlook.com> 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 <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Mon, 04 Sep 2023 08:00:09 +0200
parents 88bf4444ae6a
children 4d0dec4e7414
files src/errors.h src/strings.c src/version.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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;
 	}
 
--- 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,