mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Eliminate some unnecessary recomputation in the plaintext parser
This commit is contained in:
parent
d0d03d37bb
commit
2430de30f4
@ -435,11 +435,6 @@ add_document_line(struct plain_renderer *renderer,
|
||||
} else {
|
||||
#ifdef CONFIG_UTF8
|
||||
if (utf8) {
|
||||
unsigned char *text = &line[line_pos];
|
||||
unicode_val_T data =
|
||||
utf8_to_unicode(&text,
|
||||
&line[width]);
|
||||
|
||||
if (data == UCS_NO_CHAR) {
|
||||
line_pos += charlen;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user