mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.3881: QNX: crash when compiled with GUI but using terminal
Problem: QNX: crash when compiled with GUI but using terminal. Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391)
This commit is contained in:
@@ -835,7 +835,7 @@ vim_main2(void)
|
|||||||
#if defined(FEAT_GUI)
|
#if defined(FEAT_GUI)
|
||||||
// When tab pages were created, may need to update the tab pages line and
|
// When tab pages were created, may need to update the tab pages line and
|
||||||
// scrollbars. This is skipped while creating them.
|
// scrollbars. This is skipped while creating them.
|
||||||
if (first_tabpage->tp_next != NULL)
|
if (gui.in_use && first_tabpage->tp_next != NULL)
|
||||||
{
|
{
|
||||||
out_flush();
|
out_flush();
|
||||||
gui_init_which_components(NULL);
|
gui_init_which_components(NULL);
|
||||||
|
@@ -749,6 +749,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 */
|
||||||
|
/**/
|
||||||
|
3881,
|
||||||
/**/
|
/**/
|
||||||
3880,
|
3880,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user