Fixed warning when building without ibus

This commit is contained in:
Sam Lantinga 2014-06-21 17:25:59 -07:00
parent 4beb5bcbb4
commit 4d0f46dd79
2 changed files with 2 additions and 5 deletions

View file

@ -571,7 +571,9 @@ X11_DispatchEvent(_THIS)
KeySym keysym = NoSymbol;
char text[SDL_TEXTINPUTEVENT_TEXT_SIZE];
Status status = 0;
#ifdef SDL_USE_IBUS
Bool handled = False;
#endif
#ifdef DEBUG_XEVENTS
printf("window %p: KeyPress (X11 keycode = 0x%X)\n", data, xevent.xkey.keycode);