From 2430de30f4f9d930dd18ab17ddd943cc49afa652 Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Wed, 1 Nov 2006 01:35:47 +0000 Subject: [PATCH] Eliminate some unnecessary recomputation in the plaintext parser --- src/document/plain/renderer.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/document/plain/renderer.c b/src/document/plain/renderer.c index aebaba5f7..859b43821 100644 --- a/src/document/plain/renderer.c +++ b/src/document/plain/renderer.c @@ -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;