From ea4487c6dad37429dbef6e6377f6f8f02f877380 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 11 Sep 2010 16:20:58 +0000 Subject: [PATCH] Ugh. Pass the right type into tty_term_has. Teaches me to make last minute changes :-/. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)