From 2109be1587e42d2370409e8244f6c2ef53f7d6da Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 3 Jan 2007 18:18:56 +0100 Subject: [PATCH] warning: ctext is used only with CONFIG_UTF8. --- src/viewer/text/form.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/text/form.c b/src/viewer/text/form.c index 483931f68..f37673ce7 100644 --- a/src/viewer/text/form.c +++ b/src/viewer/text/form.c @@ -1355,10 +1355,10 @@ field_op(struct session *ses, struct document_view *doc_view, struct form_state *fs; enum edit_action action_id; unsigned char *text; - const unsigned char *ctext; int length; enum frame_event_status status = FRAME_EVENT_REFRESH; #ifdef CONFIG_UTF8 + const unsigned char *ctext; int utf8 = ses->tab->term->utf8; #endif /* CONFIG_UTF8 */