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 41b78314a..426ce2a82 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -718,7 +718,7 @@ bool html_redraw_box(const html_content *html, struct box *box,
return false;
/* scrollbars */
- if (current_redraw_browser && ((box->style && box->type != BOX_BR &&
+ if (((box->style && box->type != BOX_BR &&
box->type != BOX_TABLE && box->type != BOX_INLINE &&
(css_computed_overflow(box->style) ==
CSS_OVERFLOW_SCROLL ||