diff options
author | marha <marha@users.sourceforge.net> | 2010-07-02 12:44:32 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-02 12:44:32 +0000 |
commit | 63a788caa35b080bde1307fc6d5715dec091fe38 (patch) | |
tree | f7933fca9786afbf1efc31751a94a9a6c897502b /xorg-server/dix/devices.c | |
parent | 87559ccfc67a98a75fa8068066871c35caa88e30 (diff) | |
download | vcxsrv-63a788caa35b080bde1307fc6d5715dec091fe38.tar.gz vcxsrv-63a788caa35b080bde1307fc6d5715dec091fe38.tar.bz2 vcxsrv-63a788caa35b080bde1307fc6d5715dec091fe38.zip |
git update 2/7/2010
Diffstat (limited to 'xorg-server/dix/devices.c')
-rw-r--r-- | xorg-server/dix/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/dix/devices.c b/xorg-server/dix/devices.c index e6d25ea40..42ea9c8d8 100644 --- a/xorg-server/dix/devices.c +++ b/xorg-server/dix/devices.c @@ -1239,7 +1239,7 @@ InitValuatorClassDeviceStruct(DeviceIntPtr dev, int numAxes, Atom *labels, if (!dev)
return FALSE;
- if (numAxes >= MAX_VALUATORS)
+ if (numAxes > MAX_VALUATORS)
{
LogMessage(X_WARNING,
"Device '%s' has %d axes, only using first %d.\n",
|