uterm: input: uxkb: fix compile error in string_to_keysym()
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>
This commit is contained in:
parent
2a05b978d3
commit
3baeb6f04a
@ -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)
|
||||
keysym = xkb_keysym_from_name(n);
|
||||
if (!keysym)
|
||||
return -EFAULT;
|
||||
|
||||
*out = sym;
|
||||
*out = keysym;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user