Skip to content

Commit

Permalink
updated for version 7.2-243
Browse files Browse the repository at this point in the history
  • Loading branch information
vimboss committed Jul 29, 2009
1 parent 3b1a4d4 commit 865619b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/screen.c
Expand Up @@ -7467,6 +7467,10 @@ screenalloc(clear)
*/
FOR_ALL_TAB_WINDOWS(tp, wp)
win_free_lsize(wp);
#ifdef FEAT_AUTOCMD
if (aucmd_win != NULL)
win_free_lsize(aucmd_win);
#endif

new_ScreenLines = (schar_T *)lalloc((long_u)(
(Rows + 1) * Columns * sizeof(schar_T)), FALSE);
Expand Down Expand Up @@ -7504,7 +7508,8 @@ screenalloc(clear)
}
}
#ifdef FEAT_AUTOCMD
if (aucmd_win != NULL && win_alloc_lines(aucmd_win) == FAIL)
if (aucmd_win != NULL && aucmd_win->w_lines == NULL
&& win_alloc_lines(aucmd_win) == FAIL)
outofmem = TRUE;
#endif
#ifdef FEAT_WINDOWS
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -676,6 +676,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
243,
/**/
242,
/**/
Expand Down

0 comments on commit 865619b

Please sign in to comment.