Ugh. Pass the right type into tty_term_has. Teaches me to make last

minute changes :-/.
This commit is contained in:
Nicholas Marriott 2010-09-11 16:20:58 +00:00
parent cb564bb427
commit ea4487c6da

2
tty.c
View File

@ -47,7 +47,7 @@ void tty_cell(struct tty *,
const struct grid_cell *, const struct grid_utf8 *); const struct grid_cell *, const struct grid_utf8 *);
#define tty_use_acs(tty) \ #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 void
tty_init(struct tty *tty, int fd, char *term) tty_init(struct tty *tty, int fd, char *term)