mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.1.1301: when compiled with VIMDLL some messages are not shown
Problem: When compiled with VIMDLL some messages are not shown. Solution: Set/reset gui.in_use and gui.starting as needed. (Ken Takata, closes #4361)
This commit is contained in:
@@ -4827,6 +4827,10 @@ ole_error(char *arg)
|
||||
{
|
||||
char buf[IOSIZE];
|
||||
|
||||
# ifdef VIMDLL
|
||||
gui.in_use = mch_is_gui_executable();
|
||||
# endif
|
||||
|
||||
/* Can't use emsg() here, we have not finished initialisation yet. */
|
||||
vim_snprintf(buf, IOSIZE,
|
||||
_("E243: Argument not supported: \"-%s\"; Use the OLE version."),
|
||||
|
Reference in New Issue
Block a user