To: vim_dev@googlegroups.com Subject: Patch 8.2.3881 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3881 Problem: QNX: crash when compiled with GUI but using terminal. Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391) Files: src/main.c *** ../vim-8.2.3880/src/main.c 2021-11-29 20:39:06.678101624 +0000 --- src/main.c 2021-12-24 11:52:11.358896730 +0000 *************** *** 835,841 **** #if defined(FEAT_GUI) // When tab pages were created, may need to update the tab pages line and // scrollbars. This is skipped while creating them. ! if (first_tabpage->tp_next != NULL) { out_flush(); gui_init_which_components(NULL); --- 835,841 ---- #if defined(FEAT_GUI) // When tab pages were created, may need to update the tab pages line and // scrollbars. This is skipped while creating them. ! if (gui.in_use && first_tabpage->tp_next != NULL) { out_flush(); gui_init_which_components(NULL); *** ../vim-8.2.3880/src/version.c 2021-12-24 11:33:52.252268534 +0000 --- src/version.c 2021-12-24 11:55:15.646652003 +0000 *************** *** 751,752 **** --- 751,754 ---- { /* Add new patch number below this line */ + /**/ + 3881, /**/ -- From "know your smileys": [:-) Frankenstein's monster /// 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 ///