mirror of https://github.com/encounter/SDL.git
Minor coding convention fix.
This commit is contained in:
parent
fb37956d9b
commit
0cf81fbdf9
|
@ -307,8 +307,9 @@ X11_UpdateKeymap(_THIS)
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
#if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
||||||
XkbStateRec state;
|
XkbStateRec state;
|
||||||
if(0 == X11_XkbGetState(data->display, XkbUseCoreKbd, &state))
|
if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state == Success)) {
|
||||||
group = state.group;
|
group = state.group;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue