Fix crash bug.

svn path=/trunk/netsurf/; revision=5932
This commit is contained in:
Michael Drake 2008-12-27 17:09:35 +00:00
parent e5e68a3feb
commit 5a3b076869
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ bool html_redraw_box(struct box *box,
/* borders for block level content and replaced inlines */
if (box->style && box->type != BOX_TEXT &&
box->type != BOX_INLINE_END &&
(bg_box->type != BOX_INLINE || bg_box->object) &&
(box->type != BOX_INLINE || box->object) &&
(border_top || border_right ||
border_bottom || border_left))
if (!html_redraw_borders(box, x_parent, y_parent,