From 8f29eeaae6fe488eff6c0311d02d7428ac485916 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sat, 12 May 2012 14:57:36 +0000 Subject: [PATCH] Sync OpenBSD patchset 1108: Missing ()s in macros. --- tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tty.c b/tty.c index e06a77aa..b03d04a8 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)