From 132403b6bec15eaf02e4e9742f1f67a9ce271737 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 5 May 2012 18:31:09 +0000 Subject: [PATCH] Missing ()s in macros. --- tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tty.c b/tty.c index 6b22c851..1c6f7d5b 100644 --- a/tty.c +++ b/tty.c @@ -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)