mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Recalculating actual position in string after text split.
svn path=/trunk/netsurf/; revision=11300
This commit is contained in:
parent
fce3238be0
commit
23e9ad14ab
@ -84,6 +84,9 @@ static bool nsfont_split(const plot_font_style_t *style,
|
||||
while ((string[*char_offset] != ' ') && (*char_offset > 0))
|
||||
(*char_offset)--;
|
||||
|
||||
nsfont_position_in_string(style, string, *char_offset + 1, x, char_offset,
|
||||
actual_x);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user