To: vim_dev@googlegroups.com Subject: Patch 8.2.4079 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4079 Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL. Solution: Adjust #ifdef. (Ken Takata, closes #9517) Files: src/main.c *** ../vim-8.2.4078/src/main.c 2022-01-08 12:41:12.204795554 +0000 --- src/main.c 2022-01-13 16:04:42.298158256 +0000 *************** *** 2004,2010 **** { Columns = 80; // need to init Columns info_message = TRUE; // use mch_msg(), not mch_errmsg() ! #if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) gui.starting = FALSE; // not starting GUI, will exit #endif list_version(); --- 2004,2010 ---- { Columns = 80; // need to init Columns info_message = TRUE; // use mch_msg(), not mch_errmsg() ! #if defined(FEAT_GUI) && !defined(ALWAYS_USE_GUI) && !defined(VIMDLL) gui.starting = FALSE; // not starting GUI, will exit #endif list_version(); *** ../vim-8.2.4078/src/version.c 2022-01-13 15:25:28.222535371 +0000 --- src/version.c 2022-01-13 16:04:37.214162007 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4079, /**/ -- ARTHUR: Who are you? TALL KNIGHT: We are the Knights Who Say "Ni"! BEDEVERE: No! Not the Knights Who Say "Ni"! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///