diff options
author | marha <marha@users.sourceforge.net> | 2010-07-02 14:40:53 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-07-02 14:40:53 +0000 |
commit | bb10a5eb99178daa575d5365c8588d891e9988be (patch) | |
tree | 8116bb4cbcf79d17b3ae6f4946cd547d14b979ed /xorg-server/dix/devices.c | |
parent | 1faa0f175bda9074b5f45e5e005d9a80721e3c24 (diff) | |
parent | 63a788caa35b080bde1307fc6d5715dec091fe38 (diff) | |
download | vcxsrv-bb10a5eb99178daa575d5365c8588d891e9988be.tar.gz vcxsrv-bb10a5eb99178daa575d5365c8588d891e9988be.tar.bz2 vcxsrv-bb10a5eb99178daa575d5365c8588d891e9988be.zip |
svn merge ^/branches/released .
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 4f73044bb..d9a59d8db 100644 --- a/xorg-server/dix/devices.c +++ b/xorg-server/dix/devices.c @@ -1247,7 +1247,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",
|