mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Sync OpenBSD patchset 921:
Trim another useless if statement, from Ailin Nemui.
This commit is contained in:
parent
f9cb06cf2c
commit
159faa4ed7
4
tty.c
4
tty.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tty.c,v 1.212 2011-05-22 16:26:09 tcunha Exp $ */
|
/* $Id$ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* 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_CS1) && tty->cstyle != 0) {
|
||||||
if (tty_term_has(tty->term, TTYC_CSR1))
|
if (tty_term_has(tty->term, TTYC_CSR1))
|
||||||
tty_raw(tty, tty_term_string(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_string1(tty->term, TTYC_CS1, 0));
|
||||||
}
|
}
|
||||||
tty_raw(tty, tty_term_string(tty->term, TTYC_CR));
|
tty_raw(tty, tty_term_string(tty->term, TTYC_CR));
|
||||||
|
Loading…
Reference in New Issue
Block a user