patch 9.0.1863: wrong format specifiers in e_aptypes_is_null_str_nr

Commit: 
https://github.com/vim/vim/commit/7db89bdc23e53c7bc43af6f1c7281bc69a6a3098
Author: zeertzjq <[email protected]>
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 <[email protected]>
    Co-authored-by: zeertzjq <[email protected]>

diff --git a/src/errors.h b/src/errors.h
index 1dfb9ab8f..c0e98df78 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 cb044ec17..710b1d35c 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 29150a52d..a19b81eb6 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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1qd2d7-00EYvu-E8%40256bit.org.

Raspunde prin e-mail lui