From b3aa313e8421a26489719ecb4626cc6837e0079c Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 17 Jan 2016 23:40:50 +0000 Subject: misc amiga fixes re font plotting --- amiga/font_bullet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'amiga/font_bullet.c') diff --git a/amiga/font_bullet.c b/amiga/font_bullet.c index 2800533a0..69757e5a3 100644 --- a/amiga/font_bullet.c +++ b/amiga/font_bullet.c @@ -155,7 +155,7 @@ static inline uint32 amiga_nsfont_decode_surrogate(const uint16 *char1) } } -static inline bool amiga_nsfont_width(const plot_font_style_t *fstyle, +static bool amiga_nsfont_width(const plot_font_style_t *fstyle, const char *string, size_t length, int *width) { @@ -178,7 +178,7 @@ static inline bool amiga_nsfont_width(const plot_font_style_t *fstyle, * \return true on success, false on error and error reported */ -static inline bool amiga_nsfont_position_in_string(const plot_font_style_t *fstyle, +static bool amiga_nsfont_position_in_string(const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x) { @@ -261,7 +261,7 @@ static inline bool amiga_nsfont_position_in_string(const plot_font_style_t *fsty * Returning char_offset == length means no split possible */ -static inline bool amiga_nsfont_split(const plot_font_style_t *fstyle, +static bool amiga_nsfont_split(const plot_font_style_t *fstyle, const char *string, size_t length, int x, size_t *char_offset, int *actual_x) { -- cgit v1.2.3