diff options
Diffstat (limited to 'amiga/gui.c')
-rw-r--r-- | amiga/gui.c | 5 |
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; } |