diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-09-18 15:45:03 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-09-18 15:45:03 +0000 |
commit | 29f04400b533f14804e7a8e46df68eedc6eb7db1 (patch) | |
tree | d67813268168476eae675b9c7f6be11fd48d7549 | |
parent | 5126037ea0bfc8a5245562156a0b5051cb9cdb02 (diff) | |
download | rtmux-29f04400b533f14804e7a8e46df68eedc6eb7db1.tar.gz rtmux-29f04400b533f14804e7a8e46df68eedc6eb7db1.tar.bz2 rtmux-29f04400b533f14804e7a8e46df68eedc6eb7db1.zip |
Sync OpenBSD patchset 763:
Ugh. Pass the right type into tty_term_has. Teaches me to make last
minute changes :-/.
-rw-r--r-- | tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.194 2010-09-18 15:43:53 tcunha Exp $ */ +/* $Id: tty.c,v 1.195 2010-09-18 15:45:03 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -47,7 +47,7 @@ void tty_cell(struct tty *, const struct grid_cell *, const struct grid_utf8 *); #define tty_use_acs(tty) \ - (tty_term_has(tty, TTYC_ACSC) && !((tty)->flags & TTY_UTF8)) + (tty_term_has(tty->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8)) void tty_init(struct tty *tty, int fd, char *term) |