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:
parent
25e0a18b7f
commit
bd5d53a2a2
@ -131,7 +131,7 @@ term_send_ucs(struct terminal *term, struct term_event *ev, unicode_val_T u)
|
|||||||
{
|
{
|
||||||
unsigned char *recoded;
|
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 = "*";
|
if (!recoded) recoded = "*";
|
||||||
while (*recoded) {
|
while (*recoded) {
|
||||||
ev->info.keyboard.key = *recoded;
|
ev->info.keyboard.key = *recoded;
|
||||||
|
Loading…
Reference in New Issue
Block a user