summaryrefslogtreecommitdiff
path: root/riscos/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/history.c')
-rw-r--r--riscos/history.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/riscos/history.c b/riscos/history.c
index 9166f04d3..dc0417f36 100644
--- a/riscos/history.c
+++ b/riscos/history.c
@@ -265,6 +265,9 @@ void ro_gui_history_open(struct browser_window *bw,
struct history_entry *he;
os_box box = {0, 0, 0, 0};
+ if (!history || !history->start)
+ return;
+
history_bw = bw;
history_current = history;