diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-17 23:40:50 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2016-01-17 23:40:50 +0000 |
commit | b3aa313e8421a26489719ecb4626cc6837e0079c (patch) | |
tree | f7c854ad66fad54740ace7b4decec685a1541af4 /amiga/font_bullet.c | |
parent | 132be1eed23315c8fbd72acaa06ccdec62363c73 (diff) | |
download | netsurf-b3aa313e8421a26489719ecb4626cc6837e0079c.tar.gz netsurf-b3aa313e8421a26489719ecb4626cc6837e0079c.tar.bz2 |
misc amiga fixes re font plotting
Diffstat (limited to 'amiga/font_bullet.c')
-rw-r--r-- | amiga/font_bullet.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |