From 5a3b0768692ca1fd264abd418ca2df9cfd12c130 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 27 Dec 2008 17:09:35 +0000 Subject: Fix crash bug. svn path=/trunk/netsurf/; revision=5932 --- render/html_redraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render/html_redraw.c b/render/html_redraw.c index 44c393230..5c8cfd330 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -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, -- cgit v1.2.3