From 93e3d84b980b045b3ec8602c1269224f0142540b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 25 Oct 2014 15:44:50 +0100 Subject: Use API to test for bw content. --- atari/rootwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atari') 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); } } -- cgit v1.2.3