summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-09-11 16:20:59 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-09-11 16:20:59 +0000
commitf3c22ee45eb477da5afd7ef95f53acbb11a3f5bb (patch)
tree15236abe011d0ef52ec038590609cd9cd6dba65c /usr.bin/tmux
parente5875a1c1c3501082ddf22c6b66edb0dcd48d69e (diff)
Ugh. Pass the right type into tty_term_has. Teaches me to make last
minute changes :-/.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index cf208ba4aab..cdbc37986be 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.90 2010/09/11 16:19:22 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.91 2010/09/11 16:20:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -47,7 +47,7 @@ void tty_cell(struct tty *,
const struct grid_cell *, const struct grid_utf8 *);
#define tty_use_acs(tty) \
- (tty_term_has(tty, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
+ (tty_term_has(tty->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
void
tty_init(struct tty *tty, int fd, char *term)