summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-client/xkb/xkb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-client/xkb/xkb.c b/console-client/xkb/xkb.c
index a3e4c255..2e5b15cb 100644
--- a/console-client/xkb/xkb.c
+++ b/console-client/xkb/xkb.c
@@ -200,7 +200,7 @@ iskeypad (int width, int *sym)
{
int i;
- for (i = 0; i <= width; i++, sym++)
+ for (i = 0; i < width; i++, sym++)
{
/* Numlock is in the keypad range but shouldn't be of the type
keypad because it will depend on itself in that case. */