aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/kdrive/src
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-09-06 12:06:57 +0200
committermarha <marha@users.sourceforge.net>2013-09-06 12:06:57 +0200
commit2414a1de3cc17f438219f8f2a58b530d33e99a5e (patch)
treea7d7ca359bf84115689b071d30dfae0887efc057 /xorg-server/hw/kdrive/src
parentb828531d8b6da75a258d12f97df0f4e49f75ab98 (diff)
downloadvcxsrv-2414a1de3cc17f438219f8f2a58b530d33e99a5e.tar.gz
vcxsrv-2414a1de3cc17f438219f8f2a58b530d33e99a5e.tar.bz2
vcxsrv-2414a1de3cc17f438219f8f2a58b530d33e99a5e.zip
mesa pixman xserver xkeyboard-config
xserver commit 6f89ae3e64c4dfeea508813e546c10ba1da3ea8e xkeyboard-config commit c2309b50e7ef7b9263278fd8ff73dda1484d72db pixman commit 8ad63f90cd8392a40f115c56b16c54d45012070e mesa commit 505fad04f10eee1efdfcd8986b4d484b49d39986
Diffstat (limited to 'xorg-server/hw/kdrive/src')
-rw-r--r--xorg-server/hw/kdrive/src/kinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/kdrive/src/kinput.c b/xorg-server/hw/kdrive/src/kinput.c
index f93830eb1..527c7a2ef 100644
--- a/xorg-server/hw/kdrive/src/kinput.c
+++ b/xorg-server/hw/kdrive/src/kinput.c
@@ -221,7 +221,7 @@ KdUnregisterFd(void *closure, int fd, Bool do_close)
if (do_close)
close(kdInputFds[i].fd);
kdNumInputFds--;
- for (j = i; j < kdNumInputFds; j++)
+ for (j = i; j < (kdNumInputFds - 1); j++)
kdInputFds[j] = kdInputFds[j + 1];
break;
}