mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 09:42:38 +03:00
Use API to test for bw content.
This commit is contained in:
parent
c4829ca636
commit
93e3d84b98
@ -1413,7 +1413,7 @@ static void on_resized(ROOTWIN *rootwin)
|
|||||||
/* resized */
|
/* resized */
|
||||||
toolbar_set_width(rootwin->toolbar, work.g_w);
|
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);
|
browser_window_reformat(gw->browser->bw, true, work.g_w, work.g_h);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user