summaryrefslogtreecommitdiffstats
authortcunha <tcunha>2010-09-18 15:45:03 (GMT)
committer tcunha <tcunha>2010-09-18 15:45:03 (GMT)
commit8d1f83f7edbacf1a733ce6a4914fb78930ab9ca6 (patch) (unidiff)
treedf249c62f3f1d417624f84bd24ab4bc3358ffe67
parent0d59ab3828629151e36e0cd779adc805bc95073e (diff)
downloadtmux-old-8d1f83f7edbacf1a733ce6a4914fb78930ab9ca6.zip
tmux-old-8d1f83f7edbacf1a733ce6a4914fb78930ab9ca6.tar.gz
tmux-old-8d1f83f7edbacf1a733ce6a4914fb78930ab9ca6.tar.bz2
Sync OpenBSD patchset 763:
Ugh. Pass the right type into tty_term_has. Teaches me to make last minute changes :-/.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index 9d93404..52307c1 100644
--- a/tty.c
+++ b/tty.c
@@ -1,4 +1,4 @@
1/* $Id: tty.c,v 1.194 2010/09/18 15:43:53 tcunha Exp $ */ 1/* $Id: tty.c,v 1.195 2010/09/18 15:45:03 tcunha Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2007 Nicholas Marriott <[email protected]> 4 * Copyright (c) 2007 Nicholas Marriott <[email protected]>
@@ -47,7 +47,7 @@ void tty_cell(struct tty *,
47 const struct grid_cell *, const struct grid_utf8 *); 47 const struct grid_cell *, const struct grid_utf8 *);
48 48
49#define tty_use_acs(tty) \ 49#define tty_use_acs(tty) \
50 (tty_term_has(tty, TTYC_ACSC) && !((tty)->flags & TTY_UTF8)) 50 (tty_term_has(tty->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
51 51
52void 52void
53tty_init(struct tty *tty, int fd, char *term) 53tty_init(struct tty *tty, int fd, char *term)