projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a05b97
)
uterm: input: uxkb: fix compile error in string_to_keysym()
author
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 5 Sep 2012 17:50:00 +0000
(19:50 +0200)
committer
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 5 Sep 2012 17:50:00 +0000
(19:50 +0200)
Damnit, already pushed and not noticed this bug. Anyway, this fixes the
obvious typo in uxkb module.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_input_uxkb.c
patch
|
blob
|
history
diff --git
a/src/uterm_input_uxkb.c
b/src/uterm_input_uxkb.c
index
a73937a
..
6b9a6a5
100644
(file)
--- a/
src/uterm_input_uxkb.c
+++ b/
src/uterm_input_uxkb.c
@@
-298,11
+298,11
@@
int uxkb_string_to_keysym(const char *n, uint32_t *out)
/* TODO: fix xkbcommon upstream to be case-insensitive if case-sensitive
* match fails. */
- sym = xkb_keysym_from_name(n);
- if (!sym)
+
key
sym = xkb_keysym_from_name(n);
+ if (!
key
sym)
return -EFAULT;
- *out = sym;
+ *out =
key
sym;
return 0;
}