diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-11 19:16:38 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-11 19:16:38 +0000 |
commit | 469cd6dc67075fcb1bacc69cbf1354cd67aefddd (patch) | |
tree | ddf1efea3cbb33b3f4dec58f638cb161b4e0ec5c /amiga | |
parent | 37e5bff1880c6c532fad5c5b316deda292fafd17 (diff) | |
download | netsurf-469cd6dc67075fcb1bacc69cbf1354cd67aefddd.tar.gz netsurf-469cd6dc67075fcb1bacc69cbf1354cd67aefddd.tar.bz2 |
Close the font when we finish with it
Diffstat (limited to 'amiga')
-rw-r--r-- | amiga/font_bitmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/font_bitmap.c b/amiga/font_bitmap.c index 90277d6e7..65d21936e 100644 --- a/amiga/font_bitmap.c +++ b/amiga/font_bitmap.c @@ -210,8 +210,6 @@ bool amiga_bm_nsfont_split(const plot_font_style_t *fstyle, *char_offset = length; } - ami_font_bm_close(bmfont); - return true; } @@ -227,6 +225,8 @@ ULONG ami_font_bm_text(struct RastPort *rp, const char *string, ULONG length, free(localtext); } + ami_font_bm_close(bmfont); + return 0; } |