summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-09-11 16:20:58 +0000
committernicm <nicm@openbsd.org>2010-09-11 16:20:58 +0000
commit46548c30c32d81fd167f390676aab5c9439a26f8 (patch)
tree960d3e003d53c6535868b817268ef6d03793fdd3 /usr.bin/tmux/tty.c
parentUse UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid (diff)
downloadwireguard-openbsd-46548c30c32d81fd167f390676aab5c9439a26f8.tar.xz
wireguard-openbsd-46548c30c32d81fd167f390676aab5c9439a26f8.zip
Ugh. Pass the right type into tty_term_has. Teaches me to make last
minute changes :-/.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-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)