diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-25 15:01:42 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-25 15:01:42 +0100 |
commit | 981e80c2ad74af29970d3dd7cfbe6bc1bc15521f (patch) | |
tree | 4890dbdd4c8964290dd58e4115e72aaa88979888 /beos/window.cpp | |
parent | 7f6024ed9a202e7eec7819de0ba5ebc36ccc7967 (diff) | |
download | netsurf-981e80c2ad74af29970d3dd7cfbe6bc1bc15521f.tar.gz netsurf-981e80c2ad74af29970d3dd7cfbe6bc1bc15521f.tar.bz2 |
Don't need access to content here.
Diffstat (limited to 'beos/window.cpp')
-rw-r--r-- | beos/window.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/beos/window.cpp b/beos/window.cpp index 7eb8901fc..f9d9ff730 100644 --- a/beos/window.cpp +++ b/beos/window.cpp @@ -1016,9 +1016,7 @@ static void gui_window_redraw_window(struct gui_window *g) static void gui_window_update_box(struct gui_window *g, const struct rect *rect) { - hlcache_handle *c = g->bw->current_content; - - if (c == NULL) + if (browser_window_has_content(g->bw) == false) return; if (g->view == NULL) |