aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-03-09 14:46:56 -0700
committerJulien Cristau <jcristau@debian.org>2008-03-09 22:52:13 +0100
commit71f4eaec7713643a7e2d07e27b9afeabd6f1ce02 (patch)
treef842ceec1b1bde52820a041a5948a8d35278b951
parentFix cut-and-paste error in abs-to-rel translation. (diff)
downloadxf86-input-evdev-71f4eaec7713643a7e2d07e27b9afeabd6f1ce02.tar.gz
xf86-input-evdev-71f4eaec7713643a7e2d07e27b9afeabd6f1ce02.tar.bz2
xf86-input-evdev-71f4eaec7713643a7e2d07e27b9afeabd6f1ce02.zip
Fix cut-and-paste errors in xkb alternate spellings code
Fixes 2b334d6b69d7dde5d553c638e134ebdf974749f3.
-rw-r--r--src/evdev.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 9f5d160..e53e449 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -679,17 +679,17 @@ EvdevAddKeyClass(DeviceIntPtr device)
if (!pEvdev->xkb_rules)
SetXkbOption(pInfo, "XkbRules", &pEvdev->xkb_rules);
SetXkbOption(pInfo, "xkb_model", &pEvdev->xkb_model);
- if (!pEvdev->xkb_rules)
- SetXkbOption(pInfo, "XkbModel", &pEvdev->xkb_rules);
+ if (!pEvdev->xkb_model)
+ SetXkbOption(pInfo, "XkbModel", &pEvdev->xkb_model);
SetXkbOption(pInfo, "xkb_layout", &pEvdev->xkb_layout);
- if (!pEvdev->xkb_rules)
- SetXkbOption(pInfo, "XkbLayout", &pEvdev->xkb_rules);
+ if (!pEvdev->xkb_layout)
+ SetXkbOption(pInfo, "XkbLayout", &pEvdev->xkb_layout);
SetXkbOption(pInfo, "xkb_variant", &pEvdev->xkb_variant);
- if (!pEvdev->xkb_rules)
- SetXkbOption(pInfo, "XkbVariant", &pEvdev->xkb_rules);
+ if (!pEvdev->xkb_variant)
+ SetXkbOption(pInfo, "XkbVariant", &pEvdev->xkb_variant);
SetXkbOption(pInfo, "xkb_options", &pEvdev->xkb_options);
- if (!pEvdev->xkb_rules)
- SetXkbOption(pInfo, "XkbOptions", &pEvdev->xkb_rules);
+ if (!pEvdev->xkb_options)
+ SetXkbOption(pInfo, "XkbOptions", &pEvdev->xkb_options);
if (pEvdev->xkbnames.keymap)
pEvdev->xkb_rules = NULL;