summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-07-13 13:51:22 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-07-13 13:51:22 +0000
commit8faa353087b8642dd71d3ab4b3e6f3075fe0d5fa (patch)
tree36a9d5e416fa1424f31d397dbdc1ff31cdd2e716 /render/html_redraw.c
parent36518319637ba29c76a2c00d264e85267f1b5968 (diff)
downloadnetsurf-8faa353087b8642dd71d3ab4b3e6f3075fe0d5fa.tar.gz
netsurf-8faa353087b8642dd71d3ab4b3e6f3075fe0d5fa.tar.bz2
Don't need current_redraw_browser for box scrollbars any more.
svn path=/trunk/netsurf/; revision=12602
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 ||