mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 16:36:30 +00:00
vim-patch:8.2.4890: inconsistent capitalization in error messages
Problem: Inconsistent capitalization in error messages.
Solution: Make capitalization consistent. (Doug Kearns)
cf030578b2
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -126,6 +126,9 @@ typedef struct {
|
||||
# include "ex_cmds.c.generated.h"
|
||||
#endif
|
||||
|
||||
static const char e_non_numeric_argument_to_z[]
|
||||
= N_("E144: Non-numeric argument to :z");
|
||||
|
||||
/// ":ascii" and "ga" implementation
|
||||
void do_ascii(const exarg_T *const eap)
|
||||
{
|
||||
@@ -2952,7 +2955,7 @@ void ex_z(exarg_T *eap)
|
||||
|
||||
if (*x != 0) {
|
||||
if (!ascii_isdigit(*x)) {
|
||||
emsg(_("E144: non-numeric argument to :z"));
|
||||
emsg(_(e_non_numeric_argument_to_z));
|
||||
return;
|
||||
}
|
||||
bigness = atol(x);
|
||||
|
Reference in New Issue
Block a user