mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 7.4.1496
Problem: Crash when built with GUI but it's not active. (Dominique Pelle) Solution: Check gui.in_use.
This commit is contained in:
parent
802d559431
commit
a96909cfaf
@ -1046,8 +1046,11 @@ invoke_callback(channel_T *channel, char_u *callback, typval_T *argv)
|
|||||||
cursor_on();
|
cursor_on();
|
||||||
out_flush();
|
out_flush();
|
||||||
#ifdef FEAT_GUI
|
#ifdef FEAT_GUI
|
||||||
gui_update_cursor(TRUE, FALSE);
|
if (gui.in_use)
|
||||||
gui_mch_flush();
|
{
|
||||||
|
gui_update_cursor(TRUE, FALSE);
|
||||||
|
gui_mch_flush();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -743,6 +743,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 */
|
||||||
|
/**/
|
||||||
|
1496,
|
||||||
/**/
|
/**/
|
||||||
1495,
|
1495,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user