mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Bug fix: dialog window opened with ELinks start wasn't right encoded.
term->utf8 should be set before computing anything to be written on screen. But probably this is not the right place.
This commit is contained in:
parent
509fe2cf0d
commit
7d4dedcb8d
@ -162,6 +162,12 @@ check_terminal_name(struct terminal *term, struct terminal_info *info)
|
|||||||
object_unlock(term->spec);
|
object_unlock(term->spec);
|
||||||
term->spec = get_opt_rec(config_options, name);
|
term->spec = get_opt_rec(config_options, name);
|
||||||
object_lock(term->spec);
|
object_lock(term->spec);
|
||||||
|
#ifdef CONFIG_UTF_8
|
||||||
|
/* Probably not best place for set this. But now we finally have
|
||||||
|
* term->spec and term->utf8 should be set before decode session info.
|
||||||
|
* --Scrool */
|
||||||
|
term->utf8 = get_opt_bool_tree(term->spec, "utf_8_io");
|
||||||
|
#endif /* CONFIG_UTF_8 */
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_MOUSE
|
#ifdef CONFIG_MOUSE
|
||||||
|
Loading…
Reference in New Issue
Block a user