Mercurial > vim
comparison src/gui_w32.c @ 26966:ac75c145f0a9 v8.2.4012
patch 8.2.4012: error messages are spread out
Commit: https://github.com/vim/vim/commit/d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 5 20:24:39 2022 +0000
patch 8.2.4012: error messages are spread out
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 05 Jan 2022 21:30:04 +0100 |
parents | b34ddbca305c |
children | 4482dd5f8869 |
comparison
equal
deleted
inserted
replaced
26965:76601978e211 | 26966:ac75c145f0a9 |
---|---|
4989 | 4989 |
4990 #if defined(GUI_MAY_SPAWN) || defined(PROTO) | 4990 #if defined(GUI_MAY_SPAWN) || defined(PROTO) |
4991 static char * | 4991 static char * |
4992 gvim_error(void) | 4992 gvim_error(void) |
4993 { | 4993 { |
4994 char *msg = _("E988: GUI cannot be used. Cannot execute gvim.exe."); | 4994 char *msg = _(e_gui_cannot_be_used_cannot_execute_gvim_exe); |
4995 | 4995 |
4996 if (starting) | 4996 if (starting) |
4997 { | 4997 { |
4998 mch_errmsg(msg); | 4998 mch_errmsg(msg); |
4999 mch_errmsg("\n"); | 4999 mch_errmsg("\n"); |