Mercurial > vim
comparison src/gui_w32.c @ 26893:79c76ca2c53c v8.2.3975
patch 8.2.3975: error messages are spread out
Commit: https://github.com/vim/vim/commit/cbadefe25a27ded93548eaa7a325d2a04bf55d7c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 1 19:33:50 2022 +0000
patch 8.2.3975: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 01 Jan 2022 20:45:03 +0100 |
parents | 7f150a4936f2 |
children | b34ddbca305c |
comparison
equal
deleted
inserted
replaced
26892:71e7c936307f | 26893:79c76ca2c53c |
---|---|
4980 gui.in_use = mch_is_gui_executable(); | 4980 gui.in_use = mch_is_gui_executable(); |
4981 # endif | 4981 # endif |
4982 | 4982 |
4983 // Can't use emsg() here, we have not finished initialisation yet. | 4983 // Can't use emsg() here, we have not finished initialisation yet. |
4984 vim_snprintf(buf, IOSIZE, | 4984 vim_snprintf(buf, IOSIZE, |
4985 _("E243: Argument not supported: \"-%s\"; Use the OLE version."), | 4985 _(e_argument_not_supported_str_use_ole_version), arg); |
4986 arg); | |
4987 mch_errmsg(buf); | 4986 mch_errmsg(buf); |
4988 } | 4987 } |
4989 #endif | 4988 #endif |
4990 | 4989 |
4991 #if defined(GUI_MAY_SPAWN) || defined(PROTO) | 4990 #if defined(GUI_MAY_SPAWN) || defined(PROTO) |
8680 // partially stolen from gui_beval.c | 8679 // partially stolen from gui_beval.c |
8681 BalloonEval *beval; | 8680 BalloonEval *beval; |
8682 | 8681 |
8683 if (mesg != NULL && mesgCB != NULL) | 8682 if (mesg != NULL && mesgCB != NULL) |
8684 { | 8683 { |
8685 iemsg(_("E232: Cannot create BalloonEval with both message and callback")); | 8684 iemsg(_(e_cannot_create_ballooneval_with_both_message_and_callback)); |
8686 return NULL; | 8685 return NULL; |
8687 } | 8686 } |
8688 | 8687 |
8689 beval = ALLOC_CLEAR_ONE(BalloonEval); | 8688 beval = ALLOC_CLEAR_ONE(BalloonEval); |
8690 if (beval != NULL) | 8689 if (beval != NULL) |