mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +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:
@@ -36,8 +36,8 @@
|
||||
# include "eval/window.c.generated.h"
|
||||
#endif
|
||||
|
||||
static char *e_invalwindow = N_("E957: Invalid window number");
|
||||
static char e_cannot_resize_window_in_another_tab_page[]
|
||||
static const char *e_invalwindow = N_("E957: Invalid window number");
|
||||
static const char e_cannot_resize_window_in_another_tab_page[]
|
||||
= N_("E1308: Cannot resize a window in another tab page");
|
||||
|
||||
static int win_getid(typval_T *argvars)
|
||||
|
Reference in New Issue
Block a user