From 34e5ec18074b05f8ffc95bdefe7f7037ff046ecf Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 26 May 2011 07:08:48 +0000 Subject: Trim another useless if statement, from Ailin Nemui. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index 4fcf6f55..efd779a6 100644 --- a/tty.c +++ b/tty.c @@ -248,7 +248,7 @@ tty_stop_tty(struct tty *tty) if (tty_term_has(tty->term, TTYC_CS1) && tty->cstyle != 0) { if (tty_term_has(tty->term, TTYC_CSR1)) tty_raw(tty, tty_term_string(tty->term, TTYC_CSR1)); - else if (tty_term_has(tty->term, TTYC_CS1)) + else tty_raw(tty, tty_term_string1(tty->term, TTYC_CS1, 0)); } tty_raw(tty, tty_term_string(tty->term, TTYC_CR)); -- cgit v1.2.3