comparison src/term.c @ 26439:b18f3b0f317c v8.2.3750

patch 8.2.3750: error messages are everywhere Commit: https://github.com/vim/vim/commit/40bcec1bac34d34a3d4d7c5f6b2cc1f163acbd00 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 5 22:19:27 2021 +0000 patch 8.2.3750: error messages are everywhere Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Dec 2021 23:30:05 +0100
parents d26bab4f6aca
children a77b661439f9
comparison
equal deleted inserted replaced
26438:c725b8e17f1f 26439:b18f3b0f317c
6019 * (room: 5 * 6 = 30 bytes; needed: 3 + <nr> + 1 <= 14) 6019 * (room: 5 * 6 = 30 bytes; needed: 3 + <nr> + 1 <= 14)
6020 */ 6020 */
6021 if (STRNICMP(src, "<SID>", 5) == 0) 6021 if (STRNICMP(src, "<SID>", 5) == 0)
6022 { 6022 {
6023 if (current_sctx.sc_sid <= 0) 6023 if (current_sctx.sc_sid <= 0)
6024 emsg(_(e_usingsid)); 6024 emsg(_(e_using_sid_not_in_script_context));
6025 else 6025 else
6026 { 6026 {
6027 src += 5; 6027 src += 5;
6028 result[dlen++] = K_SPECIAL; 6028 result[dlen++] = K_SPECIAL;
6029 result[dlen++] = (int)KS_EXTRA; 6029 result[dlen++] = (int)KS_EXTRA;