diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-04-23 23:02:42 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-04-23 23:02:42 +0100 |
commit | c86936613366fe1a0d7a4a2d4ae628d04cd3b866 (patch) | |
tree | 88c945ce503cb9df4332904d5887d68b8b843fde /tty-term.c | |
parent | b0d7623b7eb4409eedde0583be6ed831b287d278 (diff) | |
parent | b9022e33eac0152850ae59be99b54cccc10f4c63 (diff) | |
download | rtmux-c86936613366fe1a0d7a4a2d4ae628d04cd3b866.tar.gz rtmux-c86936613366fe1a0d7a4a2d4ae628d04cd3b866.tar.bz2 rtmux-c86936613366fe1a0d7a4a2d4ae628d04cd3b866.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -420,6 +420,7 @@ tty_term_find(char *name, int fd, char **cause) struct tty_code *code; struct options_entry *o; struct options_array_item *a; + union options_value *ov; u_int i; int n, error; const char *s, *acs; @@ -497,9 +498,9 @@ tty_term_find(char *name, int fd, char **cause) o = options_get_only(global_options, "terminal-overrides"); a = options_array_first(o); while (a != NULL) { - s = options_array_item_value(a); - if (s != NULL) - tty_term_override(term, s); + ov = options_array_item_value(a); + if (ov != NULL) + tty_term_override(term, ov->string); a = options_array_next(a); } |