stop trying to redraw a browser window if its content is empty

svn path=/trunk/netsurf/; revision=10208
This commit is contained in:
Vincent Sanders 2010-03-29 23:27:50 +00:00
parent 9aca901eb1
commit 11dbf5e589

View File

@ -172,6 +172,10 @@ static void redraw(void)
continue;
}
if (bw->current_content == NULL) {
w = w->next;
continue;
}
current_hwnd = w->drawingarea;
w->scrolly += w->requestscrolly;
w->scrollx += w->requestscrollx;