diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-12 13:11:13 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-12 13:11:13 +0100 |
commit | ade86e496ea4bc27b6edab125bad9f5dc4bb3852 (patch) | |
tree | 81aae5427d06ae06be2968df5d025780206bf682 /amiga/file.c | |
parent | 6ea52d0d9f423a13acc7c7fe015038a15a9636ff (diff) | |
download | netsurf-ade86e496ea4bc27b6edab125bad9f5dc4bb3852.tar.gz netsurf-ade86e496ea4bc27b6edab125bad9f5dc4bb3852.tar.bz2 |
Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary.
Diffstat (limited to 'amiga/file.c')
-rw-r--r-- | amiga/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |