To: vim_dev@googlegroups.com Subject: Patch 8.2.2500 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2500 (after 8.2.2499) Problem: Build fails without the GUI feature. Solution: Add #ifdef. Files: src/main.c *** ../vim-8.2.2499/src/main.c 2021-02-11 19:08:01.427926377 +0100 --- src/main.c 2021-02-11 19:16:49.910590385 +0100 *************** *** 1979,1985 **** --- 1979,1987 ---- { 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(); msg_putchar('\n'); msg_didout = FALSE; *** ../vim-8.2.2499/src/version.c 2021-02-11 19:08:01.431926369 +0100 --- src/version.c 2021-02-11 19:17:31.290484675 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2500, /**/ -- ARTHUR: Be quiet! DENNIS: --but by a two-thirds majority in the case of more-- ARTHUR: Be quiet! I order you to be quiet! WOMAN: Order, eh -- who does he think he is? ARTHUR: I am your king! The Quest for the Holy Grail (Monty Python) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///