svn path=/trunk/netsurf/; revision=11874
This commit is contained in:
Ole Loots 2011-03-01 19:28:12 +00:00
parent a80af90142
commit ca73991ef5

View File

@ -933,13 +933,10 @@ void browser_redraw( struct gui_window * gw )
short todo[4];
struct rect clip;
if( b->attached == false ) {
if( b->attached == false || b->bw->current_content == NULL ) {
return;
}
if( b->bw->current_content == NULL )
return;
browser_get_rect(gw, BR_CONTENT, &bwrect);
plotter->resize(plotter, bwrect.g_w, bwrect.g_h);