0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.0-168

This commit is contained in:
Bram Moolenaar
2006-11-21 19:57:30 +00:00
parent b42dc236e9
commit 9334c3447a
3 changed files with 4 additions and 1 deletions

View File

@@ -4273,7 +4273,7 @@ win_alloc_lines(wp)
win_T *wp;
{
wp->w_lines_valid = 0;
wp->w_lines = (wline_T *)alloc((unsigned)(Rows * sizeof(wline_T)));
wp->w_lines = (wline_T *)alloc_clear((unsigned)(Rows * sizeof(wline_T)));
if (wp->w_lines == NULL)
return FAIL;
return OK;