0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

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)
This commit is contained in:
Bram Moolenaar
2018-06-20 20:37:36 +02:00
parent a15b0a936d
commit 9b0c5c23bd
2 changed files with 9 additions and 6 deletions

View File

@@ -2672,6 +2672,7 @@ nfa_set_code(int c)
#ifdef ENABLE_LOG #ifdef ENABLE_LOG
static FILE *log_fd; 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. * Print the postfix notation of the current regexp.
@@ -5270,7 +5271,7 @@ recursive_regmatch(
} }
else else
{ {
EMSG(_("Could not open temporary log file for writing, displaying on stderr... ")); EMSG(_(e_log_open_failed));
log_fd = stderr; log_fd = stderr;
} }
#endif #endif
@@ -5620,7 +5621,7 @@ nfa_regmatch(
} }
else else
{ {
EMSG(_("Could not open temporary log file for writing, displaying on stderr ... ")); EMSG(_(e_log_open_failed));
log_fd = stderr; log_fd = stderr;
} }
#endif #endif

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
90,
/**/ /**/
89, 89,
/**/ /**/