Fixup history_local.c for OS3

This commit is contained in:
Chris Young 2015-01-18 18:55:23 +00:00
parent 69075f1c57
commit 0673ac5096

View File

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