diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-25 15:44:50 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2014-10-25 15:44:50 +0100 |
commit | 93e3d84b980b045b3ec8602c1269224f0142540b (patch) | |
tree | c3890cc1e4e464d5e03aa6d1790f984f505e58ef /atari/rootwin.c | |
parent | c4829ca6363048f45ead7f946fedb33cdaeccd11 (diff) | |
download | netsurf-93e3d84b980b045b3ec8602c1269224f0142540b.tar.gz netsurf-93e3d84b980b045b3ec8602c1269224f0142540b.tar.bz2 |
Use API to test for bw content.
Diffstat (limited to 'atari/rootwin.c')
-rwxr-xr-x | atari/rootwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atari/rootwin.c b/atari/rootwin.c index 48ea5f340..96057cea8 100755 --- a/atari/rootwin.c +++ b/atari/rootwin.c @@ -1413,7 +1413,7 @@ static void on_resized(ROOTWIN *rootwin) /* resized */ toolbar_set_width(rootwin->toolbar, work.g_w); - if ( gw->browser->bw->current_content != NULL ) { + if ( browser_window_has_content(gw->browser->bw) ) { browser_window_reformat(gw->browser->bw, true, work.g_w, work.g_h); } } |