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:
David Herrmann 2012-09-05 19:50:00 +02:00
parent 2a05b978d3
commit 3baeb6f04a

View File

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