Fix typo in out of range group calculation

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2012-07-15 17:35:35 +03:00
parent 7d400657f5
commit c6c937abc2
1 changed files with 1 additions and 1 deletions

View File

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