From bd5d53a2a21de892982d01b437fd6ad9c3f0a685 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Thu, 22 Dec 2005 00:03:30 +0100 Subject: [PATCH] Use get_opt_codepage_tree() --- src/terminal/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal/event.c b/src/terminal/event.c index c77c83d5..37e86b37 100644 --- a/src/terminal/event.c +++ b/src/terminal/event.c @@ -131,7 +131,7 @@ term_send_ucs(struct terminal *term, struct term_event *ev, unicode_val_T u) { unsigned char *recoded; - recoded = u2cp_no_nbsp(u, get_opt_int_tree(term->spec, "charset")); + recoded = u2cp_no_nbsp(u, get_opt_codepage_tree(term->spec, "charset")); if (!recoded) recoded = "*"; while (*recoded) { ev->info.keyboard.key = *recoded;