mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
Don't need access to content here.
This commit is contained in:
parent
7f6024ed9a
commit
981e80c2ad
@ -1016,9 +1016,7 @@ static void gui_window_redraw_window(struct gui_window *g)
|
||||
|
||||
static void gui_window_update_box(struct gui_window *g, const struct rect *rect)
|
||||
{
|
||||
hlcache_handle *c = g->bw->current_content;
|
||||
|
||||
if (c == NULL)
|
||||
if (browser_window_has_content(g->bw) == false)
|
||||
return;
|
||||
|
||||
if (g->view == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user