diff options
author | Adam Jackson <ajax@redhat.com> | 2008-03-25 12:48:22 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-03-25 12:48:44 -0400 |
commit | ae8edf3ee78ec1786c71b60ac0a5c9a2efb4e857 (patch) | |
tree | 87eeb4595526b313056008f042e2c9e3931ec4dd /dix | |
parent | ff99a3aa2b6f3918c7692f360a3df30cf5a541ec (diff) |
Fix that last commit.
I can apply patches, really.
(cherry picked from commit 333e7123dc484888d79c0f5aa3977bd72f1eb341)
Diffstat (limited to 'dix')
-rw-r--r-- | dix/getevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/getevents.c b/dix/getevents.c index 6a2f7baf6..bf9331eae 100644 --- a/dix/getevents.c +++ b/dix/getevents.c @@ -349,7 +349,7 @@ getValuatorEvents(xEvent *events, DeviceIntPtr pDev, int first_valuator, for (i = first_valuator; i < final_valuator; i += 6, xv++, events++) { xv->type = DeviceValuator; xv->first_valuator = i; - xv->num_valuators = ((num_valuators - i) > 6) ? 6 : (final_valuator - i); + xv->num_valuators = ((final_valuator - i) > 6) ? 6 : (final_valuator - i); xv->deviceid = pDev->id; switch (final_valuator - i) { case 6: |