From ee22e696e86c29a6320ce22b6add83e8a6121924 Mon Sep 17 00:00:00 2001 From: Diego Nieto Cid Date: Thu, 26 Aug 2010 16:25:40 -0300 Subject: * console-client/xkb/xkb.c (iskeypad): Access up to 'width' symbols. --- console-client/xkb/xkb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-client/xkb/xkb.c') 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. */ -- cgit v1.2.3