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/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/file.c') diff --git a/amiga/file.c b/amiga/file.c index 694285738..937fb9052 100644 --- a/amiga/file.c +++ b/amiga/file.c @@ -91,7 +91,7 @@ void ami_file_open(struct gui_window_2 *gwin) ASLFR_FilterFunc, &aslhookfunc, TAG_DONE)) { - if(temp = AllocVec(1024,MEMF_PRIVATE | MEMF_CLEAR)) + if(temp = AllocVecTagList(1024, NULL)) { strlcpy(temp, filereq->fr_Drawer, 1024); AddPart(temp, filereq->fr_File, 1024); @@ -228,7 +228,7 @@ void ami_file_save(int type, char *fname, struct Window *win, void ami_file_save_req(int type, struct gui_window_2 *gwin, struct hlcache_handle *object) { - char *fname = AllocVec(1024, MEMF_CLEAR | MEMF_PRIVATE); + char *fname = AllocVecTags(1024, NULL); if(AslRequestTags(savereq, ASLFR_Window, gwin->win, -- cgit v1.2.3