From 4b5a0e4043bec0fc00387f255dd4f06c762b12fe Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 25 Feb 2004 15:59:01 +0000 Subject: [project @ 2004-02-25 15:59:01 by bursa] Fix crash opening history while page still loading. svn path=/import/netsurf/; revision=567 --- riscos/history.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'riscos/history.c') 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; -- cgit v1.2.3