From 987218e144f95e1917f1eb8956fed8a712ec3a70 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 8 Feb 2014 23:06:24 +0000 Subject: Fix amiga build. --- amiga/gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'amiga') 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; } -- cgit v1.2.3