diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-05-26 07:08:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-05-26 07:08:48 +0000 |
commit | 34e5ec18074b05f8ffc95bdefe7f7037ff046ecf (patch) | |
tree | 67d231643564fad0ada1f221e735ee75b118e041 /tty.c | |
parent | 480e48aa66b094c68e9f058073b7c10319ac98d5 (diff) | |
download | rtmux-34e5ec18074b05f8ffc95bdefe7f7037ff046ecf.tar.gz rtmux-34e5ec18074b05f8ffc95bdefe7f7037ff046ecf.tar.bz2 rtmux-34e5ec18074b05f8ffc95bdefe7f7037ff046ecf.zip |
Trim another useless if statement, from Ailin Nemui.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |