diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-11 20:05:15 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-11 20:05:15 +0000 |
commit | adccaadb57224f7a1b149e12862f845f3c729efa (patch) | |
tree | 20938609053905a1efdb7a1e42651f9f46138d53 /amiga/font.c | |
parent | 4f7e2563c11626a10c5470773a8b588f8339c495 (diff) | |
download | netsurf-adccaadb57224f7a1b149e12862f845f3c729efa.tar.gz netsurf-adccaadb57224f7a1b149e12862f845f3c729efa.tar.bz2 |
More consistent naming for font cache elements
Diffstat (limited to 'amiga/font.c')
-rw-r--r-- | amiga/font.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/amiga/font.c b/amiga/font.c index 79f887f82..3a141ac68 100644 --- a/amiga/font.c +++ b/amiga/font.c @@ -348,9 +348,9 @@ static inline bool amiga_nsfont_split(const plot_font_style_t *fstyle, /** * Search for a font in the list and load from disk if not present */ -static struct ami_font_node *ami_font_open(const char *font, bool critical) +static struct ami_font_cache_node *ami_font_open(const char *font, bool critical) { - struct ami_font_node *nodedata = ami_font_cache_locate(font); + struct ami_font_cache_node *nodedata = ami_font_cache_locate(font); if(nodedata) return nodedata; nodedata = ami_font_cache_alloc_entry(font); @@ -402,8 +402,8 @@ static struct ami_font_node *ami_font_open(const char *font, bool critical) static struct OutlineFont *ami_open_outline_font(const plot_font_style_t *fstyle, const uint16 *codepoint) { - struct ami_font_node *node; - struct ami_font_node *designed_node = NULL; + struct ami_font_cache_node *node; + struct ami_font_cache_node *designed_node = NULL; struct OutlineFont *ofont; char *fontname; ULONG ysize; @@ -891,7 +891,7 @@ void ami_close_fonts(void) ami_font_finiscanner(); } -void ami_font_close(struct ami_font_node *node) +void ami_font_close(struct ami_font_cache_node *node) { /* Called from FreeObjList if node type is AMINS_FONT */ |