[project @ 2004-06-02 21:04:35 by bursa]

Update call to layout_block_context() for error handling.

svn path=/import/netsurf/; revision=913
This commit is contained in:
James Bursa 2004-06-02 21:04:35 +00:00
parent d250ff9f82
commit 312b748fd7
1 changed files with 3 additions and 1 deletions

View File

@ -1035,7 +1035,9 @@ void browser_window_textarea_callback(struct browser_window *bw, char key, void
/* reflow textarea preserving width and height */
width = textarea->width;
height = textarea->height;
layout_block_context(textarea);
if (!layout_block_context(textarea,
bw->current_content->data.html.box_pool))
warn_user("NoMemory", 0);
textarea->width = width;
textarea->height = height;
}