Don't need access to content here.

This commit is contained in:
Michael Drake 2014-10-25 15:01:42 +01:00
parent 7f6024ed9a
commit 981e80c2ad

View File

@ -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)