mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-06 23:31:34 +03:00
Fix windows word splitting
mjw on IRC pointed out that the windows word splitting code was not checking a return code properly resulting in broken word splitting.
This commit is contained in:
parent
8bdea3cc7e
commit
5a9afe471c
@ -280,7 +280,7 @@ win32_font_split(const plot_font_style_t *style,
|
||||
length,
|
||||
x,
|
||||
char_offset,
|
||||
actual_x)) {
|
||||
actual_x) == NSERROR_OK) {
|
||||
c_off = *char_offset;
|
||||
if (*char_offset == length) {
|
||||
ret = NSERROR_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user