From: James S. <jsi...@us...> - 2002-01-08 18:45:06
|
Update of /cvsroot/linuxconsole/ruby/linux/drivers/char In directory usw-pr-cvs1:/tmp/cvs-serv23118 Modified Files: keyboard.c Log Message: Oops. Miscalculated the i variable in compute_shiftstate. Now it works right. Index: keyboard.c =================================================================== RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/char/keyboard.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- keyboard.c 2002/01/08 18:27:24 1.64 +++ keyboard.c 2002/01/08 18:45:03 1.65 @@ -281,7 +281,7 @@ shift_state = 0; memset(shift_down, 0, sizeof(shift_down)); - for(i = 0; i < SIZE(key_down); i += BITS_PER_LONG) { + for(i = 0; i < SIZE(key_down); i++) { if (!key_down[i]) continue; |