mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
refactor: make error message definitions const
message.c functions now take const char * as a format. Error message definitions can be made const.
This commit is contained in:
@@ -106,8 +106,8 @@
|
||||
# include "buffer.c.generated.h"
|
||||
#endif
|
||||
|
||||
static char *e_auabort = N_("E855: Autocommands caused command to abort");
|
||||
static char e_attempt_to_delete_buffer_that_is_in_use_str[]
|
||||
static const char *e_auabort = N_("E855: Autocommands caused command to abort");
|
||||
static const char e_attempt_to_delete_buffer_that_is_in_use_str[]
|
||||
= N_("E937: Attempt to delete a buffer that is in use: %s");
|
||||
|
||||
// Number of times free_buffer() was called.
|
||||
|
Reference in New Issue
Block a user