diff options
Diffstat (limited to 'amiga/font.c')
-rwxr-xr-x[-rw-r--r--] | amiga/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/font.c b/amiga/font.c index df0567f09..21f8b31bf 100644..100755 --- a/amiga/font.c +++ b/amiga/font.c @@ -239,7 +239,7 @@ bool nsfont_position_in_string(const plot_font_style_t *fstyle, } tx += tempx; - utf16 += utf16charlen; + utf16 = utf16next; utf8_pos = utf8_next(string, length, utf8_pos); if(tx < x) { @@ -350,7 +350,7 @@ bool nsfont_split(const plot_font_style_t *fstyle, return true; } - utf16 += utf16charlen; + utf16 = utf16next; utf8_pos = utf8_next(string, length, utf8_pos); } |