diff options
author | RestorerZ <restorer@mail2k.ru> | 2023-05-31 17:12:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-31 17:12:14 +0100 |
commit | 68ebcee0237d927dd5386073499162389d4d708a (patch) | |
tree | ce198c27bc9d743c31fed87bb5c1076b4445fcf8 /src/if_cscope.c | |
parent | 3c240f608c38ef1af67e112e0e689751c003f946 (diff) |
patch 9.0.1594: some internal error messages are translatedv9.0.1594
Problem: Some internal error messages are translated.
Solution: Consistently do not translate internal error messages.
(closes #12459)
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index 309bddcab6..d9982ef164 100644 --- 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 (;;) |