From ade86e496ea4bc27b6edab125bad9f5dc4bb3852 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 12 Oct 2013 13:11:13 +0100 Subject: Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary. --- amiga/clipboard.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'amiga/clipboard.c') diff --git a/amiga/clipboard.c b/amiga/clipboard.c index fd42f4d61..e02344c96 100644 --- a/amiga/clipboard.c +++ b/amiga/clipboard.c @@ -135,10 +135,10 @@ char *ami_clipboard_cat_collection(struct CollectionItem *ci, LONG codeset, size case 0: if(ci_new) { - ci_next->ci_Next = AllocVec(sizeof(struct CollectionItem), MEMF_PRIVATE | MEMF_CLEAR); + ci_next->ci_Next = AllocVecTags(sizeof(struct CollectionItem), AVT_ClearWithValue, 0, TAG_DONE); ci_next = ci_next->ci_Next; } else { - ci_new = AllocVec(sizeof(struct CollectionItem), MEMF_PRIVATE | MEMF_CLEAR); + ci_new = AllocVecTags(sizeof(struct CollectionItem), AVT_ClearWithValue, 0, TAG_DONE); ci_next = ci_new; } @@ -149,10 +149,10 @@ char *ami_clipboard_cat_collection(struct CollectionItem *ci, LONG codeset, size default: if(ci_new) { - ci_next->ci_Next = AllocVec(sizeof(struct CollectionItem), MEMF_PRIVATE | MEMF_CLEAR); + ci_next->ci_Next = AllocVecTags(sizeof(struct CollectionItem), AVT_ClearWithValue, 0, TAG_DONE); ci_next = ci_next->ci_Next; } else { - ci_new = AllocVec(sizeof(struct CollectionItem), MEMF_PRIVATE | MEMF_CLEAR); + ci_new = AllocVecTags(sizeof(struct CollectionItem), AVT_ClearWithValue, 0, TAG_DONE); ci_next = ci_new; } -- cgit v1.2.3