From feb5cd04e4eaad34db3d9e337515d219599399df Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 25 Oct 2014 15:03:12 +0100 Subject: [PATCH] Use API to test for browser window having a content. --- beos/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beos/window.cpp b/beos/window.cpp index f9d9ff730..5d4079f3b 100644 --- a/beos/window.cpp +++ b/beos/window.cpp @@ -1073,7 +1073,7 @@ static void gui_window_set_scroll(struct gui_window *g, int sx, int sy) static void gui_window_update_extent(struct gui_window *g) { //CALLED(); - if (!g->bw->current_content) + if (browser_window_has_content(g->bw) == false) return; if (g->view == NULL)