From 11dbf5e589743e75e4065f0780ddae82d49b1d1f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 29 Mar 2010 23:27:50 +0000 Subject: stop trying to redraw a browser window if its content is empty svn path=/trunk/netsurf/; revision=10208 --- windows/gui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows/gui.c b/windows/gui.c index 484c15286..06de68587 100644 --- a/windows/gui.c +++ b/windows/gui.c @@ -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; -- cgit v1.2.3