Fix amiga build.

This commit is contained in:
Michael Drake 2014-02-08 23:06:24 +00:00
parent 3d7cd77982
commit 987218e144

View File

@ -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;
}