1
0
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:
Miciah Dashiel Butler Masters 2006-11-01 01:35:47 +00:00 committed by Miciah Dashiel Butler Masters
parent d0d03d37bb
commit 2430de30f4

View File

@ -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;