summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2022-01-13 16:06:45 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-13 16:06:45 +0000
commit33b25d1317e4c06ec6b1cafb46ea9cde475a61ae (patch)
tree1a7eee5fb415e15add2581e68a878e46a41ffd5d /src/main.c
parentced2b38a560cc4f4ec983ed2cf4372ab62e1dbc1 (diff)
downloadvim-git-33b25d1317e4c06ec6b1cafb46ea9cde475a61ae.tar.gz
patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLLv8.2.4079
Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL. Solution: Adjust #ifdef. (Ken Takata, closes #9517)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 5723d4633..8f3856f7e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2004,7 +2004,7 @@ command_line_scan(mparm_T *parmp)
{
Columns = 80; // need to init Columns
info_message = TRUE; // use mch_msg(), not mch_errmsg()
-#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI)
+#if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) && !defined(VIMDLL)
gui.starting = FALSE; // not starting GUI, will exit
#endif
list_version();