summaryrefslogtreecommitdiff
path: root/amiga/font.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-10-12 13:11:13 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-10-12 13:11:13 +0100
commitade86e496ea4bc27b6edab125bad9f5dc4bb3852 (patch)
tree81aae5427d06ae06be2968df5d025780206bf682 /amiga/font.c
parent6ea52d0d9f423a13acc7c7fe015038a15a9636ff (diff)
downloadnetsurf-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/font.c')
-rwxr-xr-xamiga/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/font.c b/amiga/font.c
index 310d8bec3..36c810428 100755
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -383,7 +383,7 @@ struct ami_font_node *ami_font_open(const char *font)
LOG(("Font cache miss: %s", font));
- nodedata = AllocVec(sizeof(struct ami_font_node), MEMF_PRIVATE | MEMF_CLEAR);
+ nodedata = AllocVecTagList(sizeof(struct ami_font_node), NULL);
nodedata->font = OpenOutlineFont(font, &ami_diskfontlib_list, OFF_OPEN);
if(!nodedata->font)