From 28c2975d6c806b1333060e08ee056c3c477bd214 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 26 May 2011 07:08:49 +0000 Subject: Trim another useless if statement, from Ailin Nemui. --- usr.bin/tmux/tty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 @@ -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