Patched to compile.

Ryan C. Gordon 2015-08-14 23:38:40 -04:00
parent 0cf81fbdf9
commit 0d8c3a0b76
1 changed files with 5 additions and 3 deletions

View File

@ -306,9 +306,11 @@ X11_UpdateKeymap(_THIS)
SDL_GetDefaultKeymap(keymap); SDL_GetDefaultKeymap(keymap);
#if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM #if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
XkbStateRec state; {
if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state == Success)) { XkbStateRec state;
group = state.group; if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state) == Success) {
group = state.group;
}
} }
#endif #endif