0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.0-227

This commit is contained in:
Bram Moolenaar 2007-04-26 14:09:42 +00:00
parent 97006f1ce8
commit 053b9fa9c2
2 changed files with 9 additions and 1 deletions

View File

@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
227,
/**/
226,
/**/

View File

@ -2084,6 +2084,13 @@ win_close(win, free_buf)
}
#endif
#ifdef FEAT_GUI
/* Avoid trouble with scrollbars that are going to be deleted in
* win_free(). */
if (gui.in_use)
out_flush();
#endif
/*
* Close the link to the buffer.
*/
@ -4174,7 +4181,6 @@ win_free(wp, tp)
#ifdef FEAT_GUI
if (gui.in_use)
{
out_flush();
gui_mch_destroy_scrollbar(&wp->w_scrollbars[SBAR_LEFT]);
gui_mch_destroy_scrollbar(&wp->w_scrollbars[SBAR_RIGHT]);
}