Skip to content

Commit

Permalink
Minor coding convention fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 15, 2015
1 parent fb37956 commit 0cf81fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/video/x11/SDL_x11keyboard.c
Expand Up @@ -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


Expand Down

0 comments on commit 0cf81fb

Please sign in to comment.