Sync OpenBSD patchset 1108:

Missing ()s in macros.
This commit is contained in:
Tiago Cunha 2012-05-12 14:57:36 +00:00
parent f2f9bc0181
commit 8f29eeaae6

4
tty.c
View File

@ -55,9 +55,9 @@ void tty_cell(struct tty *,
const struct grid_cell *, const struct grid_utf8 *); const struct grid_cell *, const struct grid_utf8 *);
#define tty_use_acs(tty) \ #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) \ #define tty_use_rect(tty) \
(tty->xterm_version > 270) ((tty)->xterm_version > 270)
void void
tty_init(struct tty *tty, int fd, char *term) tty_init(struct tty *tty, int fd, char *term)