mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +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:
@@ -101,7 +101,7 @@ typedef void (*LevelGetter)(fline_T *);
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "fold.c.generated.h"
|
||||
#endif
|
||||
static char *e_nofold = N_("E490: No fold found");
|
||||
static const char *e_nofold = N_("E490: No fold found");
|
||||
|
||||
// While updating the folds lines between invalid_top and invalid_bot have an
|
||||
// undefined fold level. Only used for the window currently being updated.
|
||||
|
Reference in New Issue
Block a user