mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-23 14:28:55 +01:00
Trim another useless if statement, from Ailin Nemui.
This commit is contained in:
parent
480e48aa66
commit
34e5ec1807
2
tty.c
2
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));
|
||||
|
Loading…
Reference in New Issue
Block a user