summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-10-25 15:03:12 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-10-25 15:03:12 +0100
commitfeb5cd04e4eaad34db3d9e337515d219599399df (patch)
treef50538bfad062293d48d6e32f16510e9c5496828 /beos
parent981e80c2ad74af29970d3dd7cfbe6bc1bc15521f (diff)
downloadnetsurf-feb5cd04e4eaad34db3d9e337515d219599399df.tar.gz
netsurf-feb5cd04e4eaad34db3d9e337515d219599399df.tar.bz2
Use API to test for browser window having a content.
Diffstat (limited to 'beos')
-rw-r--r--beos/window.cpp2
1 files changed, 1 insertions, 1 deletions
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)