diff options
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty-term.c,v 1.18 2009-04-23 21:09:17 nicm Exp $ */ +/* $Id: tty-term.c,v 1.19 2009-05-04 17:58:27 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -267,10 +267,10 @@ tty_term_find(char *name, int fd, char **cause) xasprintf(cause, "terminal does not support dl1 or dl"); goto error; } - if (!tty_term_has(term, TTYC_ICH1) && + if (!tty_term_has(term, TTYC_ICH1) && !tty_term_has(term, TTYC_ICH) && (!tty_term_has(term, TTYC_SMIR) || !tty_term_has(term, TTYC_RMIR))) { - xasprintf(cause, + xasprintf(cause, "terminal does not support ich1 or ich or smir and rmir"); goto error; } |