From 33b25d1317e4c06ec6b1cafb46ea9cde475a61ae Mon Sep 17 00:00:00 2001 From: "K.Takata" Date: Thu, 13 Jan 2022 16:06:45 +0000 Subject: 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 #9517) --- src/main.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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(); diff --git a/src/version.c b/src/version.c index 7f631da2f..839687418 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4079, /**/ 4078, /**/ -- cgit v1.2.1