comparison src/gui.c @ 25306:078edc1821bf v8.2.3190

patch 8.2.3190: error messages are spread out Commit: https://github.com/vim/vim/commit/e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 20 21:07:36 2021 +0200 patch 8.2.3190: error messages are spread out Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Jul 2021 21:15:05 +0200
parents 496221916885
children aade8ef975d5
comparison
equal deleted inserted replaced
25305:4032f1628500 25306:078edc1821bf
5036 if (!gui.in_use) 5036 if (!gui.in_use)
5037 { 5037 {
5038 #if defined(VIMDLL) && !defined(EXPERIMENTAL_GUI_CMD) 5038 #if defined(VIMDLL) && !defined(EXPERIMENTAL_GUI_CMD)
5039 if (!gui.starting) 5039 if (!gui.starting)
5040 { 5040 {
5041 emsg(_(e_nogvim)); 5041 emsg(_(e_gui_cannot_be_used_not_enabled_at_compile_time));
5042 return; 5042 return;
5043 } 5043 }
5044 #endif 5044 #endif
5045 // Clear the command. Needed for when forking+exiting, to avoid part 5045 // Clear the command. Needed for when forking+exiting, to avoid part
5046 // of the argument ending up after the shell prompt. 5046 // of the argument ending up after the shell prompt.