Missing ()s in macros.

pull/1/head
Nicholas Marriott 2012-05-05 18:31:09 +00:00
parent 3e6454f2d6
commit 132403b6be
1 changed files with 2 additions and 2 deletions

4
tty.c
View File

@ -55,9 +55,9 @@ void tty_cell(struct tty *,
const struct grid_cell *, const struct grid_utf8 *);
#define tty_use_acs(tty) \
(tty_term_has(tty->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
(tty_term_has((tty)->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
#define tty_use_rect(tty) \
(tty->xterm_version > 270)
((tty)->xterm_version > 270)
void
tty_init(struct tty *tty, int fd, char *term)