From 2eb41ed77b2deb3a1c54c7b6b94a7c31fb603714 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 18 Jan 2015 21:11:00 +0000 Subject: More OS3 fixes --- amiga/object.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'amiga/object.c') diff --git a/amiga/object.c b/amiga/object.c index 0c848aa5f..99f359ad1 100755 --- a/amiga/object.c +++ b/amiga/object.c @@ -16,6 +16,8 @@ * along with this program. If not, see . */ +#include "amiga/os3support.h" + #include #include @@ -24,6 +26,7 @@ #include "amiga/filetype.h" #include "amiga/font.h" +#include "amiga/misc.h" #include "amiga/object.h" struct MinList *NewObjList(void) @@ -43,7 +46,7 @@ struct nsObject *AddObject(struct MinList *objlist, ULONG otype) { struct nsObject *dtzo; - dtzo = (struct nsObject *)AllocVecTags(sizeof(struct nsObject), AVT_ClearWithValue, 0, TAG_DONE); + dtzo = (struct nsObject *)ami_misc_allocvec_clear(sizeof(struct nsObject), 0); AddTail((struct List *)objlist,(struct Node *)dtzo); -- cgit v1.2.3