dix: fix up erroneous error message.
(WW) Device 'device name' has 36 axes, only using first 36. does seem a bit silly. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
dbf249ec66
commit
c7330ecb5d
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue