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/font_scan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/font_scan.c') diff --git a/amiga/font_scan.c b/amiga/font_scan.c index b1732da3e..f3ad36e6f 100644 --- a/amiga/font_scan.c +++ b/amiga/font_scan.c @@ -91,7 +91,7 @@ const char *ami_font_scan_lookup(uint16 *code, lwc_string **glypharray) struct ami_font_scan_window *ami_font_scan_gui_open(int32 fonts) { struct ami_font_scan_window *fsw = - AllocVec(sizeof(struct ami_font_scan_window), MEMF_PRIVATE); + AllocVecTagList(sizeof(struct ami_font_scan_window), NULL); if(fsw == NULL) return NULL; @@ -301,7 +301,7 @@ ULONG ami_font_scan_list(struct MinList *list) struct nsObject *node; do { - if(afh = (struct AvailFontsHeader *)AllocVec(afSize, MEMF_PRIVATE)) { + if(afh = (struct AvailFontsHeader *)AllocVecTagList(afSize, NULL)) { if(afShortage = AvailFonts(afh, afSize, AFF_DISK | AFF_OTAG | AFF_SCALED)) { FreeVec(afh); afSize += afShortage; -- cgit v1.2.3