mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
vim-patch:8.1.0090: "..." used inconsistently in a message
Problem: "..." used inconsistently in a message.
Solution: Define the message with " ..." once. (hint by Ken Takata)
9b0c5c23bd
This commit is contained in:
@@ -2453,6 +2453,7 @@ static void nfa_set_code(int c)
|
||||
}
|
||||
|
||||
static FILE *log_fd;
|
||||
static char_u e_log_open_failed[] = N_("Could not open temporary log file for writing, displaying on stderr... ");
|
||||
|
||||
/*
|
||||
* Print the postfix notation of the current regexp.
|
||||
@@ -4697,8 +4698,7 @@ static int recursive_regmatch(nfa_state_T *state, nfa_pim_T *pim, nfa_regprog_T
|
||||
fprintf(log_fd, "MATCH = %s\n", !result ? "FALSE" : "OK");
|
||||
fprintf(log_fd, "****************************\n");
|
||||
} else {
|
||||
EMSG(_(
|
||||
"Could not open temporary log file for writing, displaying on stderr... "));
|
||||
EMSG(_(e_log_open_failed));
|
||||
log_fd = stderr;
|
||||
}
|
||||
#endif
|
||||
@@ -5002,8 +5002,7 @@ static int nfa_regmatch(nfa_regprog_T *prog, nfa_state_T *start,
|
||||
abs(start->id), code);
|
||||
fprintf(log_fd, "**********************************\n");
|
||||
} else {
|
||||
EMSG(_(
|
||||
"Could not open temporary log file for writing, displaying on stderr ... "));
|
||||
EMSG(_(e_log_open_failed));
|
||||
log_fd = stderr;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user