=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty-term.c,v retrieving revision 1.61 retrieving revision 1.62 diff -c -r1.61 -r1.62 *** src/usr.bin/tmux/tty-term.c 2019/03/18 11:58:40 1.61 --- src/usr.bin/tmux/tty-term.c 2019/04/23 20:36:55 1.62 *************** *** 1,4 **** ! /* $OpenBSD: tty-term.c,v 1.61 2019/03/18 11:58:40 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tty-term.c,v 1.62 2019/04/23 20:36:55 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott *************** *** 417,422 **** --- 417,423 ---- 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; *************** *** 494,502 **** 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); a = options_array_next(a); } --- 495,503 ---- o = options_get_only(global_options, "terminal-overrides"); a = options_array_first(o); while (a != NULL) { ! ov = options_array_item_value(a); ! if (ov != NULL) ! tty_term_override(term, ov->string); a = options_array_next(a); }