forked from aniani/vim
patch 8.2.3837: QNX: crash when compiled with GUI but using terminal
Problem: QNX: crash when compiled with GUI but using terminal. Solution: Check gui.in_use is set. (Hirohito Higashi, closes #9363)
This commit is contained in:
parent
02929a372e
commit
d2ff705af3
@ -1613,10 +1613,15 @@ win_found:
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#if defined(FEAT_GUI)
|
#if defined(FEAT_GUI)
|
||||||
// Hide the scrollbars from the aucmd_win and update.
|
if (gui.in_use)
|
||||||
gui_mch_enable_scrollbar(&aucmd_win->w_scrollbars[SBAR_LEFT], FALSE);
|
{
|
||||||
gui_mch_enable_scrollbar(&aucmd_win->w_scrollbars[SBAR_RIGHT], FALSE);
|
// Hide the scrollbars from the aucmd_win and update.
|
||||||
gui_may_update_scrollbars();
|
gui_mch_enable_scrollbar(
|
||||||
|
&aucmd_win->w_scrollbars[SBAR_LEFT], FALSE);
|
||||||
|
gui_mch_enable_scrollbar(
|
||||||
|
&aucmd_win->w_scrollbars[SBAR_RIGHT], FALSE);
|
||||||
|
gui_may_update_scrollbars();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -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 */
|
||||||
|
/**/
|
||||||
|
3837,
|
||||||
/**/
|
/**/
|
||||||
3836,
|
3836,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user