Mercurial > vim
diff src/if_cscope.c @ 32525:bb5458706799 v9.0.1594
patch 9.0.1594: some internal error messages are translated
Commit: https://github.com/vim/vim/commit/68ebcee0237d927dd5386073499162389d4d708a
Author: RestorerZ <restorer@mail2k.ru>
Date: Wed May 31 17:12:14 2023 +0100
patch 9.0.1594: some internal error messages are translated
Problem: Some internal error messages are translated.
Solution: Consistently do not translate internal error messages.
(closes #12459)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 May 2023 18:15:04 +0200 |
parents | 50555279168b |
children | 448aef880252 |
line wrap: on
line diff
--- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -1723,7 +1723,7 @@ cs_manage_matches( cs_print_tags_priv(mp, cp, cnt); break; default: // should not reach here - iemsg(_(e_fatal_error_in_cs_manage_matches)); + iemsg(e_fatal_error_in_cs_manage_matches); return NULL; } @@ -2114,14 +2114,13 @@ cs_read_prompt(int i) int ch; char *buf = NULL; // buffer for possible error message from cscope int bufpos = 0; - char *cs_emsg; int maxlen; static char *eprompt = "Press the RETURN key to continue:"; int epromptlen = (int)strlen(eprompt); int n; - cs_emsg = _(e_cscope_error_str); // compute maximum allowed len for Cscope error message + char *cs_emsg = _(e_cscope_error_str); maxlen = (int)(IOSIZE - strlen(cs_emsg)); for (;;)