summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-10-25 15:44:50 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-10-25 15:44:50 +0100
commit93e3d84b980b045b3ec8602c1269224f0142540b (patch)
treec3890cc1e4e464d5e03aa6d1790f984f505e58ef /atari
parentc4829ca6363048f45ead7f946fedb33cdaeccd11 (diff)
downloadnetsurf-93e3d84b980b045b3ec8602c1269224f0142540b.tar.gz
netsurf-93e3d84b980b045b3ec8602c1269224f0142540b.tar.bz2
Use API to test for bw content.
Diffstat (limited to 'atari')
-rwxr-xr-xatari/rootwin.c2
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);
}
}