Sync OpenBSD patchset 1108:

Missing ()s in macros.
pull/1/head
Tiago Cunha 2012-05-12 14:57:36 +00:00
parent f2f9bc0181
commit 8f29eeaae6
1 changed files with 2 additions and 2 deletions

4
tty.c
View File

@ -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)