diff options
| author | Karl Heuer | 1995-07-17 22:21:21 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-07-17 22:21:21 +0000 |
| commit | ee8e09af76dbcb18f33248d0d08b9321b900dd99 (patch) | |
| tree | a5cb0ce7e713a0aded87f4ac4222c9e0f602d03a /src | |
| parent | cb33c142fee963b88e286b235ebda9d2259c61a6 (diff) | |
| download | emacs-ee8e09af76dbcb18f33248d0d08b9321b900dd99.tar.gz emacs-ee8e09af76dbcb18f33248d0d08b9321b900dd99.zip | |
(keyboard_bit_set): Fix one-off in loop end.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 02f8cc29bac..ca8cc24231d 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3549,7 +3549,7 @@ keyboard_bit_set (mask) | |||
| 3549 | { | 3549 | { |
| 3550 | int fd; | 3550 | int fd; |
| 3551 | 3551 | ||
| 3552 | for (fd = 0; fd < max_keyboard_desc; fd++) | 3552 | for (fd = 0; fd <= max_keyboard_desc; fd++) |
| 3553 | if (FD_ISSET (fd, mask) && FD_ISSET (fd, &input_wait_mask) | 3553 | if (FD_ISSET (fd, mask) && FD_ISSET (fd, &input_wait_mask) |
| 3554 | && !FD_ISSET (fd, &non_keyboard_wait_mask)) | 3554 | && !FD_ISSET (fd, &non_keyboard_wait_mask)) |
| 3555 | return 1; | 3555 | return 1; |