diff options
Diffstat (limited to 'src/nvim/file_search.c')
-rw-r--r-- | src/nvim/file_search.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/file_search.c b/src/nvim/file_search.c index 9c112f2344..1bfbe2e634 100644 --- a/src/nvim/file_search.c +++ b/src/nvim/file_search.c @@ -182,7 +182,8 @@ typedef struct ff_search_ctx_T { # include "file_search.c.generated.h" #endif -static const char e_pathtoolong[] = N_("E854: path too long for completion"); +static const char e_path_too_long_for_completion[] + = N_("E854: Path too long for completion"); /// Initialization routine for vim_findfile(). /// @@ -395,7 +396,7 @@ void *vim_findfile_init(char *path, char *filename, char *stopdirs, int level, i len = 0; while (*wc_part != NUL) { if (len + 5 >= MAXPATHL) { - emsg(_(e_pathtoolong)); + emsg(_(e_path_too_long_for_completion)); break; } if (strncmp(wc_part, "**", 2) == 0) { @@ -438,7 +439,7 @@ void *vim_findfile_init(char *path, char *filename, char *stopdirs, int level, i // create an absolute path if (strlen(search_ctx->ffsc_start_dir) + strlen(search_ctx->ffsc_fix_path) + 3 >= MAXPATHL) { - emsg(_(e_pathtoolong)); + emsg(_(e_path_too_long_for_completion)); goto error_return; } STRCPY(ff_expand_buffer, search_ctx->ffsc_start_dir); |