diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-05-20 17:59:58 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-05-20 17:59:58 +0100 |
commit | 2f94771f419423d25b4dc4bc6927c49add0ad196 (patch) | |
tree | 138cb257b06f5492c6607814f0de28dc3f4b5831 | |
parent | d78c9ccd1003f7ea933819c84d05ca0332f4afaf (diff) | |
download | netsurf-2f94771f419423d25b4dc4bc6927c49add0ad196.tar.gz netsurf-2f94771f419423d25b4dc4bc6927c49add0ad196.tar.bz2 |
revert text split change
-rwxr-xr-x | amiga/font.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/font.c b/amiga/font.c index 5ec52032f..441f4d408 100755 --- a/amiga/font.c +++ b/amiga/font.c @@ -341,6 +341,8 @@ bool nsfont_split(const plot_font_style_t *fstyle, } } + tx+= tempx; + if ((x < tx) && (*char_offset != 0)) { /* Reached available width, and a space was found; * split there. */ @@ -348,7 +350,6 @@ bool nsfont_split(const plot_font_style_t *fstyle, return true; } - tx += tempx; utf16 = utf16next; utf8_pos = utf8_next(string, length, utf8_pos); } |