summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c2
1 files changed, 1 insertions, 1 deletions
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,