Trim another useless if statement, from Ailin Nemui.

pull/1/head
Nicholas Marriott 2011-05-26 07:08:48 +00:00
parent 480e48aa66
commit 34e5ec1807
1 changed files with 1 additions and 1 deletions

2
tty.c
View File

@ -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));