diff options
author | Diego Nieto Cid <dnietoc@gmail.com> | 2010-08-26 16:25:40 -0300 |
---|---|---|
committer | Diego Nieto Cid <dnietoc@gmail.com> | 2011-04-08 14:36:20 -0300 |
commit | ee22e696e86c29a6320ce22b6add83e8a6121924 (patch) | |
tree | bc43a28ecc9245f30e987eca8ce0b2660f3f34f3 /console-client/xkb | |
parent | 85fc5f849ba0f0e9405bb8e9dfd2b9316b452f4e (diff) |
* console-client/xkb/xkb.c (iskeypad): Access up to 'width' symbols.
Diffstat (limited to 'console-client/xkb')
-rw-r--r-- | console-client/xkb/xkb.c | 2 |
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. */ |