# HG changeset patch # User Bram Moolenaar # Date 1642090504 -3600 # Node ID 48dbb16eea52d994a807f64ed16ec14778392144 # Parent a734cd18d1aa60f7602690694e8c260a5c6756a4 patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLL Commit: https://github.com/vim/vim/commit/33b25d1317e4c06ec6b1cafb46ea9cde475a61ae Author: K.Takata Date: Thu Jan 13 16:06:45 2022 +0000 patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLL Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL. Solution: Adjust #ifdef. (Ken Takata, closes https://github.com/vim/vim/issues/9517) diff --git a/src/main.c b/src/main.c --- 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(); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4079, +/**/ 4078, /**/ 4077,