diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-12 08:32:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-12 11:49:10 +1000 |
commit | b8114f25b266624c8f73d03c710349f98693d877 (patch) | |
tree | 3e3b61df17f103fe53d2b8087fc71167c75b0ca4 /dix/devices.c | |
parent | 5cd11d2356d153840f1b429bdb8284367f8dc468 (diff) |
dix: fix typo in setting valuator modes (#21548)
X.Org Bug 31548 <http://bugs.freedesktop.org/show_bug.cgi?id=31548>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'dix/devices.c')
-rw-r--r-- | dix/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c index a4c8e76aa..708860ace 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -2592,6 +2592,6 @@ void valuator_set_mode(DeviceIntPtr dev, int axis, int mode) else { int i; for (i = 0; i < dev->valuator->numAxes; i++) - dev->valuator->axes[axis].mode = mode; + dev->valuator->axes[i].mode = mode; } } |