summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-02-08 23:06:24 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2014-02-08 23:06:24 +0000
commit987218e144f95e1917f1eb8956fed8a712ec3a70 (patch)
treeafddd00c8b645eeb71e1382959ae9f4b3e1e9168 /amiga
parent3d7cd77982d79ff798a92ebe7f3c0b2a52042cdf (diff)
downloadnetsurf-987218e144f95e1917f1eb8956fed8a712ec3a70.tar.gz
netsurf-987218e144f95e1917f1eb8956fed8a712ec3a70.tar.bz2
Fix amiga build.
Diffstat (limited to 'amiga')
-rw-r--r--amiga/gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 3f937a6f2..16ca57e13 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -3215,9 +3215,10 @@ nserror ami_gui_new_blank_tab(struct gui_window_2 *gwin)
warn_user(messages_get_errorcode(error), 0);
return error;
}
-
+
+ /* Front end /really/ should not be doing this. */
history_destroy(bw->history);
- bw->history = history_create();
+ bw->history = history_create(bw);
return NSERROR_OK;
}