diff options
| author | Stefan Monnier | 2007-09-20 21:21:08 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-09-20 21:21:08 +0000 |
| commit | bcc3646eaa7f8224fb4141730665f8e29ced0776 (patch) | |
| tree | 1aecdeef3dbb7ab1a667c0ca2c64fc85b613d3cb /src | |
| parent | adc54316520b573602b353fc287c40178a646436 (diff) | |
| download | emacs-bcc3646eaa7f8224fb4141730665f8e29ced0776.tar.gz emacs-bcc3646eaa7f8224fb4141730665f8e29ced0776.zip | |
(tty_read_avail_input): Use terminal->name as liveness status.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index f0f2f8c897f..1a09436557e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -7093,7 +7093,7 @@ tty_read_avail_input (struct terminal *terminal, | |||
| 7093 | struct tty_display_info *tty = terminal->display_info.tty; | 7093 | struct tty_display_info *tty = terminal->display_info.tty; |
| 7094 | int nread = 0; | 7094 | int nread = 0; |
| 7095 | 7095 | ||
| 7096 | if (terminal->deleted) /* Don't read from a deleted terminal. */ | 7096 | if (!terminal->name) /* Don't read from a dead terminal. */ |
| 7097 | return; | 7097 | return; |
| 7098 | 7098 | ||
| 7099 | if (terminal->type != output_termcap) | 7099 | if (terminal->type != output_termcap) |