summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
Diffstat (limited to 'windows')
-rw-r--r--windows/gui.c4
1 files changed, 4 insertions, 0 deletions
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;