summaryrefslogtreecommitdiff
path: root/amiga/font_scan.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_scan.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_scan.c')
-rw-r--r--amiga/font_scan.c4
1 files changed, 2 insertions, 2 deletions
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;