Fix typo in out of range group calculation
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
7d400657f5
commit
c6c937abc2
|
@ -277,7 +277,7 @@ xkb_key_get_group(struct xkb_state *state, xkb_keycode_t key)
|
||||||
|
|
||||||
switch (XkbOutOfRangeGroupAction(info)) {
|
switch (XkbOutOfRangeGroupAction(info)) {
|
||||||
case XkbRedirectIntoRange:
|
case XkbRedirectIntoRange:
|
||||||
ret = XkbOutOfRangeGroupInfo(info);
|
ret = XkbOutOfRangeGroupNumber(info);
|
||||||
if (ret >= num_groups)
|
if (ret >= num_groups)
|
||||||
ret = 0;
|
ret = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue