diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-25 15:03:12 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-25 15:03:12 +0100 |
commit | feb5cd04e4eaad34db3d9e337515d219599399df (patch) | |
tree | f50538bfad062293d48d6e32f16510e9c5496828 /beos/window.cpp | |
parent | 981e80c2ad74af29970d3dd7cfbe6bc1bc15521f (diff) | |
download | netsurf-feb5cd04e4eaad34db3d9e337515d219599399df.tar.gz netsurf-feb5cd04e4eaad34db3d9e337515d219599399df.tar.bz2 |
Use API to test for browser window having a content.
Diffstat (limited to 'beos/window.cpp')
-rw-r--r-- | beos/window.cpp | 2 |
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) |