diff options
-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) |