summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-26 12:14:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-26 14:36:07 +1000
commitc89bbf80be65eb9d0d20871761d22c6d6d76708b (patch)
tree08ce9df7435b1aa5e9d041f344e66db21156acb1 /src
parent178435832f5f6988e58fddc4ffe82ddc032d9dce (diff)
Don't double-assign the UKNOWN axis label.
All labels default to unknown anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index c53e3af..048315f 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1892,7 +1892,7 @@ EvdevInitProperty(DeviceIntPtr dev)
atom = XIGetKnownProperty(labels[axis]);
if (!atom) /* Should not happen */
- atom = XIGetKnownProperty(misc_label);
+ continue;
atoms[pEvdev->axis_map[axis]] = atom;
}