Minor coding convention fix.
This commit is contained in:
parent
3e49b27401
commit
78b9440d12
1 changed files with 2 additions and 1 deletions
|
@ -307,8 +307,9 @@ X11_UpdateKeymap(_THIS)
|
|||
|
||||
#if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
||||
XkbStateRec state;
|
||||
if(0 == X11_XkbGetState(data->display, XkbUseCoreKbd, &state))
|
||||
if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state == Success)) {
|
||||
group = state.group;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue