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/search.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/search.c')
-rwxr-xr-x | amiga/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/search.c b/amiga/search.c index 18ea27fce..17a2d453c 100755 --- a/amiga/search.c +++ b/amiga/search.c @@ -100,7 +100,7 @@ void ami_search_open(struct gui_window *gwin) return; } - fwin = AllocVec(sizeof(struct find_window),MEMF_PRIVATE | MEMF_CLEAR); + fwin = AllocVecTags(sizeof(struct find_window), AVT_ClearWithValue, 0, TAG_DONE); fwin->objects[OID_MAIN] = WindowObject, WA_ScreenTitle,nsscreentitle, |