Mercurial > vim
comparison src/gui_w32.c @ 16596:2f86ca0c1e6b v8.1.1301
patch 8.1.1301: when compiled with VIMDLL some messages are not shown
commit https://github.com/vim/vim/commit/0b75f7c97cd7f2529884c48dca8edb02abda4bc5
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 8 22:28:46 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 May 2019 22:30:05 +0200 |
parents | 9a7d98e11954 |
children | ff3c99bd1038 |
comparison
equal
deleted
inserted
replaced
16595:85a9352e3f45 | 16596:2f86ca0c1e6b |
---|---|
4825 static void | 4825 static void |
4826 ole_error(char *arg) | 4826 ole_error(char *arg) |
4827 { | 4827 { |
4828 char buf[IOSIZE]; | 4828 char buf[IOSIZE]; |
4829 | 4829 |
4830 # ifdef VIMDLL | |
4831 gui.in_use = mch_is_gui_executable(); | |
4832 # endif | |
4833 | |
4830 /* Can't use emsg() here, we have not finished initialisation yet. */ | 4834 /* Can't use emsg() here, we have not finished initialisation yet. */ |
4831 vim_snprintf(buf, IOSIZE, | 4835 vim_snprintf(buf, IOSIZE, |
4832 _("E243: Argument not supported: \"-%s\"; Use the OLE version."), | 4836 _("E243: Argument not supported: \"-%s\"; Use the OLE version."), |
4833 arg); | 4837 arg); |
4834 mch_errmsg(buf); | 4838 mch_errmsg(buf); |