changeset 12541:33a4586124e9

(keyboard_bit_set): Fix one-off in loop end.
author Karl Heuer <kwzh@gnu.org>
date Mon, 17 Jul 1995 22:21:21 +0000
parents 1a96888d82ed
children f86a10208f7e
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Mon Jul 17 22:20:32 1995 +0000
+++ b/src/process.c	Mon Jul 17 22:21:21 1995 +0000
@@ -3549,7 +3549,7 @@
 {
   int fd;
 
-  for (fd = 0; fd < max_keyboard_desc; fd++)
+  for (fd = 0; fd <= max_keyboard_desc; fd++)
     if (FD_ISSET (fd, mask) && FD_ISSET (fd, &input_wait_mask)
 	&& !FD_ISSET (fd, &non_keyboard_wait_mask))
       return 1;