summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-05-05 18:31:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-05-05 18:31:09 +0000
commit132403b6bec15eaf02e4e9742f1f67a9ce271737 (patch)
treef2a65d58b178a1fc314fe2541de018ec64637759 /tty.c
parent3e6454f2d6a87cf173617b8232fca77934bc6a6c (diff)
Missing ()s in macros.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files 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)