mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
revert text split change
This commit is contained in:
parent
d78c9ccd10
commit
2f94771f41
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user