]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLL v8.2.4079
authorK.Takata <kentkt@csc.jp>
Thu, 13 Jan 2022 16:06:45 +0000 (16:06 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 13 Jan 2022 16:06:45 +0000 (16:06 +0000)
Problem:    MS-Windows: "gvim --version" didn't work when build with VIMDLL.
Solution:   Adjust #ifdef. (Ken Takata, closes #9517)

src/main.c
src/version.c

index 5723d4633645712363a2d092c71ff5f7a56addfa..8f3856f7e2d09b901b4b150cb72f7085931db4b5 100644 (file)
@@ -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();
index 7f631da2fc71d3aef726a479caca5940b617b389..8396874187c28bba5b686ee504ceafa1ea12f77d 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4079,
 /**/
     4078,
 /**/