1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -04:00

Eliminate one more unnecessary recomputation in the plaintext parser

This commit is contained in:
Miciah Dashiel Butler Masters 2006-11-01 06:38:31 +00:00 committed by Miciah Dashiel Butler Masters
parent 2430de30f4
commit 061e3aeab5

View File

@ -443,7 +443,7 @@ add_document_line(struct plain_renderer *renderer,
template->data = (unicode_val_T)data;
copy_screen_chars(pos++, template, 1);
if (unicode_to_cell(data) == 2) {
if (cell == 2) {
template->data = UCS_NO_CHAR;
copy_screen_chars(pos++,
template, 1);