Don't double-assign the UKNOWN axis label.

All labels default to unknown anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2009-02-26 12:14:03 +10:00
parent 178435832f
commit c89bbf80be

View File

@@ -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;
}