Mercurial > vim
comparison src/strings.c @ 33214:39bc126cc890 v9.0.1884
patch 9.0.1884: Wrong order of arguments for error messages
Commit: https://github.com/vim/vim/commit/1bd2cb11694690a77e4141bce2e34d9dfb882f1c
Author: Christ van Willegen <cvwillegen@gmail.com>
Date: Fri Sep 8 19:17:09 2023 +0200
patch 9.0.1884: Wrong order of arguments for error messages
Problem: Wrong order of arguments for error messages
Solution: Reverse order or arguments for e_aptypes_is_null_nr_str
closes: #13051
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 08 Sep 2023 19:30:05 +0200 |
parents | 5da7208ea315 |
children | 8b7a2ea22a86 |
comparison
equal
deleted
inserted
replaced
33213:d84610677553 | 33214:39bc126cc890 |
---|---|
2799 { | 2799 { |
2800 const char *p; | 2800 const char *p; |
2801 | 2801 |
2802 if (ap_types == NULL || ap_types[*arg_cur] == NULL) | 2802 if (ap_types == NULL || ap_types[*arg_cur] == NULL) |
2803 { | 2803 { |
2804 siemsg(e_aptypes_is_null_str_nr, fmt, *arg_cur); | 2804 siemsg(e_aptypes_is_null_nr_str, *arg_cur, fmt); |
2805 return; | 2805 return; |
2806 } | 2806 } |
2807 | 2807 |
2808 p = ap_types[*arg_cur]; | 2808 p = ap_types[*arg_cur]; |
2809 | 2809 |