From adccaadb57224f7a1b149e12862f845f3c729efa Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 11 Jan 2016 20:05:15 +0000 Subject: More consistent naming for font cache elements --- amiga/font.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'amiga/font.c') 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 */ -- cgit v1.2.3