diff options
Diffstat (limited to 'frontends/amiga')
-rw-r--r-- | frontends/amiga/font_bullet.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/frontends/amiga/font_bullet.c b/frontends/amiga/font_bullet.c index 7220cb00a..5542ed9f0 100644 --- a/frontends/amiga/font_bullet.c +++ b/frontends/amiga/font_bullet.c @@ -727,11 +727,11 @@ static const uint16 *ami_font_translate_smallcaps(uint16 *utf16char) static ULONG amiga_nsfont_text(struct RastPort *rp, const char *string, ULONG length, const plot_font_style_t *fstyle, ULONG dx, ULONG dy, bool aa) { - uint16 *utf16 = NULL, *outf16 = NULL; - uint16 *utf16charsc = 0, *utf16nextsc = 0; - uint16 *utf16next = 0; + uint16 *restrict utf16 = NULL, *restrict outf16 = NULL; + uint16 *restrict utf16charsc = 0, *restrict utf16nextsc = 0; + uint16 *restrict utf16next = 0; int utf16charlen; - struct OutlineFont *ofont, *ufont = NULL; + struct OutlineFont *restrict ofont, *restrict ufont = NULL; uint32 x=0; int32 tempx = 0; ULONG emwidth = (ULONG)NSA_FONT_EMWIDTH(fstyle->size); @@ -792,11 +792,11 @@ static ULONG amiga_nsfont_text(struct RastPort *rp, const char *string, ULONG le static inline ULONG ami_font_unicode_width(const char *string, ULONG length, const plot_font_style_t *fstyle, ULONG dx, ULONG dy, bool aa) { - uint16 *utf16 = NULL, *outf16 = NULL; - uint16 *utf16charsc = 0, *utf16nextsc = 0; - uint16 *utf16next = 0; + uint16 *restrict utf16 = NULL, *restrict outf16 = NULL; + uint16 *restrict utf16charsc = 0, *restrict utf16nextsc = 0; + uint16 *restrict utf16next = 0; int utf16charlen; - struct OutlineFont *ofont, *ufont = NULL; + struct OutlineFont *restrict ofont, *restrict ufont = NULL; uint32 x=0; int32 tempx = 0; ULONG emwidth = (ULONG)NSA_FONT_EMWIDTH(fstyle->size); |