diff --git a/amiga/history_local.c b/amiga/history_local.c index 2fb1ba677..c8c7b7263 100755 --- a/amiga/history_local.c +++ b/amiga/history_local.c @@ -112,7 +112,7 @@ void ami_history_open(struct gui_window *gw) if(!gw->hw) { - gw->hw = AllocVecTags(sizeof(struct history_window), AVT_ClearWithValue, 0, TAG_DONE); + gw->hw = ami_misc_allocvec_clear(sizeof(struct history_window), 0); ami_init_layers(&gw->hw->gg, scrn->Width, scrn->Height);