mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 14:26:07 +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:
@@ -42,7 +42,7 @@
|
||||
# include "match.c.generated.h"
|
||||
#endif
|
||||
|
||||
static char *e_invalwindow = N_("E957: Invalid window number");
|
||||
static const char *e_invalwindow = N_("E957: Invalid window number");
|
||||
|
||||
#define SEARCH_HL_PRIORITY 0
|
||||
|
||||
|
Reference in New Issue
Block a user