Revision: 2521 http://tmux.svn.sourceforge.net/tmux/?rev=2521&view=rev Author: tcunha Date: 2011-05-26 20:18:06 +0000 (Thu, 26 May 2011)
Log Message: ----------- Sync OpenBSD patchset 921: Trim another useless if statement, from Ailin Nemui. Modified Paths: -------------- trunk/tty.c Modified: trunk/tty.c =================================================================== --- trunk/tty.c 2011-05-26 20:16:17 UTC (rev 2520) +++ trunk/tty.c 2011-05-26 20:18:06 UTC (rev 2521) @@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.212 2011-05-22 16:26:09 tcunha Exp $ */ +/* $Id$ */ /* * Copyright (c) 2007 Nicholas Marriott <n...@users.sourceforge.net> @@ -248,7 +248,7 @@ 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)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ tmux-cvs mailing list tmux-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-cvs