Mercurial > vim
comparison src/ex_docmd.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 | 75e6d917696e |
children | 8088fa133b93 |
comparison
equal
deleted
inserted
replaced
26438:c725b8e17f1f | 26439:b18f3b0f317c |
---|---|
9165 break; | 9165 break; |
9166 | 9166 |
9167 case SPEC_SID: | 9167 case SPEC_SID: |
9168 if (current_sctx.sc_sid <= 0) | 9168 if (current_sctx.sc_sid <= 0) |
9169 { | 9169 { |
9170 *errormsg = _(e_usingsid); | 9170 *errormsg = _(e_using_sid_not_in_script_context); |
9171 return NULL; | 9171 return NULL; |
9172 } | 9172 } |
9173 sprintf((char *)strbuf, "<SNR>%d_", current_sctx.sc_sid); | 9173 sprintf((char *)strbuf, "<SNR>%d_", current_sctx.sc_sid); |
9174 result = strbuf; | 9174 result = strbuf; |
9175 break; | 9175 break; |