diff options
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; |