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:
ii14
2023-04-05 21:13:53 +02:00
committed by GitHub
parent 2612930a09
commit 371823d407
37 changed files with 376 additions and 372 deletions

View File

@@ -182,7 +182,7 @@ typedef struct ff_search_ctx_T {
# include "file_search.c.generated.h"
#endif
static char e_pathtoolong[] = N_("E854: path too long for completion");
static const char e_pathtoolong[] = N_("E854: path too long for completion");
/// Initialization routine for vim_findfile().
///