summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-09-11 16:20:58 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-09-11 16:20:58 +0000
commitea4487c6dad37429dbef6e6377f6f8f02f877380 (patch)
tree605643065b13a01001fd542a2543cf98d7f612d1 /tty.c
parentcb564bb427b9db5b1e48a74e6b818454f7ab0c77 (diff)
Ugh. Pass the right type into tty_term_has. Teaches me to make last
minute changes :-/.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 642b9766..268ea2e8 100644
--- a/tty.c
+++ b/tty.c
@@ -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)