aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-05-12 14:57:36 +0000
committerTiago Cunha <tcunha@gmx.com>2012-05-12 14:57:36 +0000
commit8f29eeaae6fe488eff6c0311d02d7428ac485916 (patch)
treeb1dce5f5363aba23265a828cc6d0bf73f23ec811
parentf2f9bc01812e160c8a8d6b1e290ce8eb2b6b7e4a (diff)
downloadrtmux-8f29eeaae6fe488eff6c0311d02d7428ac485916.tar.gz
rtmux-8f29eeaae6fe488eff6c0311d02d7428ac485916.tar.bz2
rtmux-8f29eeaae6fe488eff6c0311d02d7428ac485916.zip
Sync OpenBSD patchset 1108:
Missing ()s in macros.
-rw-r--r--tty.c4
1 files 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)