summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-02-25 15:59:01 +0000
committerJames Bursa <james@netsurf-browser.org>2004-02-25 15:59:01 +0000
commit4b5a0e4043bec0fc00387f255dd4f06c762b12fe (patch)
tree44dbbf681e3ec19a890d3615250479ebd2cc574d
parent7897a98a4c7475e116f406ab173139c959d6dfb6 (diff)
downloadnetsurf-4b5a0e4043bec0fc00387f255dd4f06c762b12fe.tar.gz
netsurf-4b5a0e4043bec0fc00387f255dd4f06c762b12fe.tar.bz2
[project @ 2004-02-25 15:59:01 by bursa]
Fix crash opening history while page still loading. svn path=/import/netsurf/; revision=567
-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;