mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 21:46:57 +03:00
Pedantic wrap.
This commit is contained in:
parent
50c52408f5
commit
363d02b8ad
@ -1840,8 +1840,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
|
||||
&& line < ta->line_count - 1)
|
||||
b_len--;
|
||||
|
||||
l_len = utf8_bounded_length(
|
||||
&(ta->text.data[b_off]),
|
||||
l_len = utf8_bounded_length(&(ta->text.data[b_off]),
|
||||
b_len);
|
||||
|
||||
ta->caret_pos.line = line;
|
||||
@ -1891,8 +1890,7 @@ bool textarea_keypress(struct textarea *ta, uint32_t key)
|
||||
line < ta->line_count - 1)
|
||||
b_len--;
|
||||
|
||||
l_len = utf8_bounded_length(
|
||||
&(ta->text.data[b_off]),
|
||||
l_len = utf8_bounded_length(&(ta->text.data[b_off]),
|
||||
b_len);
|
||||
|
||||
ta->caret_pos.line = line;
|
||||
|
Loading…
Reference in New Issue
Block a user