diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-05-26 07:08:49 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-05-26 07:08:49 +0000 |
commit | 28c2975d6c806b1333060e08ee056c3c477bd214 (patch) | |
tree | 363ba9c8a1ccc8e6face3a3173369ccbb31cd7b3 /usr.bin/tmux/tty.c | |
parent | 53ea2fd438c7a1744deb39cc151ec922a17d43b3 (diff) |
Trim another useless if statement, from Ailin Nemui.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r-- | usr.bin/tmux/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 73bf5b5035f..17b0ba6dddb 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.108 2011/05/20 19:17:39 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.109 2011/05/26 07:08:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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)); |