1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Use get_opt_codepage_tree()

This commit is contained in:
Jonas Fonseca 2005-12-22 00:03:30 +01:00 committed by Jonas Fonseca
parent 25e0a18b7f
commit bd5d53a2a2

View File

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