changeset 84687:4d9f30b20067

(tty_read_avail_input): Use terminal->name as liveness status.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Sep 2007 21:21:08 +0000
parents e68aa34ac58f
children 7abdec20dc91
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Thu Sep 20 21:19:13 2007 +0000
+++ b/src/keyboard.c	Thu Sep 20 21:21:08 2007 +0000
@@ -7093,7 +7093,7 @@
   struct tty_display_info *tty = terminal->display_info.tty;
   int nread = 0;
 
-  if (terminal->deleted)        /* Don't read from a deleted terminal. */
+  if (!terminal->name)		/* Don't read from a dead terminal. */
     return;
 
   if (terminal->type != output_termcap)