diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-01 12:37:46 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-09-01 12:37:46 +0000 |
commit | a7d4f08b77245cc66ace55e60032b194e1c9db13 (patch) | |
tree | 5c2babb42448dfe59c67155f6fca51af2b9806ce /riscos | |
parent | 088c91b12736d8a168415375c1763bd1ab14cd63 (diff) | |
download | netsurf-a7d4f08b77245cc66ace55e60032b194e1c9db13.tar.gz netsurf-a7d4f08b77245cc66ace55e60032b194e1c9db13.tar.bz2 |
Remove redundant bw->current_content check.
svn path=/trunk/netsurf/; revision=12696
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/window.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/riscos/window.c b/riscos/window.c index e266866c0..0306735e4 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -754,14 +754,10 @@ void gui_window_redraw_window(struct gui_window *g) void gui_window_update_box(struct gui_window *g, const struct rect *rect) { - hlcache_handle *h = g->bw->current_content; bool use_buffer; int x0, y0, x1, y1; struct update_box *cur; - if (!h) - return; - x0 = floorf(rect->x0 * 2 * g->bw->scale); y0 = -ceilf(rect->y1 * 2 * g->bw->scale); x1 = ceilf(rect->x1 * 2 * g->bw->scale) + 1; |