summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <tiagov@balalaika.(none)>2007-08-07 04:24:34 -0300
committerTiago Vignatti <tiagov@balalaika.(none)>2007-08-07 04:24:34 -0300
commit1339e57485db5a285cfbecbe0bba7154458680ad (patch)
treecfef8a1687fb7888027cb2d42aba630bf069f8f1
parentd9ee5f3e3a3a814ebcd257736c305b41139cc354 (diff)
Fix typo.
-rw-r--r--hw/kdrive/src/kinput.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/kdrive/src/kinput.c b/hw/kdrive/src/kinput.c
index df2ac5af4..4377354d5 100644
--- a/hw/kdrive/src/kinput.c
+++ b/hw/kdrive/src/kinput.c
@@ -1146,6 +1146,7 @@ KdParseKbdOptions (KdKeyboardInfo *ki)
for (option = ki->options; option; option = option->next)
{
+#ifdef XKB
if (strcasecmp(option->key, "XkbRules") == 0)
ki->xkbRules = option->value;
else if (strcasecmp(option->key, "XkbModel") == 0)
@@ -1156,7 +1157,8 @@ KdParseKbdOptions (KdKeyboardInfo *ki)
ki->xkbVariant = option->value;
else if (strcasecmp(option->key, "XkbOptions") == 0)
ki->xkbOptions = option->value;
- else
+ else
+#endif
ErrorF("Kbd option key (%s) of value (%s) not assigned!\n",
option->key, option->value);
}