mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
Sync OpenBSD patchset 1108:
Missing ()s in macros.
This commit is contained in:
parent
f2f9bc0181
commit
8f29eeaae6
4
tty.c
4
tty.c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user