Missing ()s in macros.

This commit is contained in:
Nicholas Marriott 2012-05-05 18:31:09 +00:00
parent 3e6454f2d6
commit 132403b6be

4
tty.c
View File

@ -55,9 +55,9 @@ 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->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8)) (tty_term_has((tty)->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
#define tty_use_rect(tty) \ #define tty_use_rect(tty) \
(tty->xterm_version > 270) ((tty)->xterm_version > 270)
void void
tty_init(struct tty *tty, int fd, char *term) tty_init(struct tty *tty, int fd, char *term)