0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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)
This commit is contained in:
K.Takata
2022-01-13 16:06:45 +00:00
committed by Bram Moolenaar
parent ced2b38a56
commit 33b25d1317
2 changed files with 3 additions and 1 deletions

View File

@@ -2004,7 +2004,7 @@ command_line_scan(mparm_T *parmp)
{ {
Columns = 80; // need to init Columns Columns = 80; // need to init Columns
info_message = TRUE; // use mch_msg(), not mch_errmsg() 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 gui.starting = FALSE; // not starting GUI, will exit
#endif #endif
list_version(); list_version();

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4079,
/**/ /**/
4078, 4078,
/**/ /**/