mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 14:38:29 +00:00
Minor coding convention fix.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user