src/video/x11/SDL_x11events.c
changeset 2738 79c1bd651f04
parent 2710 44e49d3fa6cf
child 2763 6fc50bdd88c0
equal deleted inserted replaced
2737:140a7edcf2bd 2738:79c1bd651f04
   199             /* */
   199             /* */
   200             SDL_zero(text);
   200             SDL_zero(text);
   201 #ifdef X_HAVE_UTF8_STRING
   201 #ifdef X_HAVE_UTF8_STRING
   202             if (data->ic) {
   202             if (data->ic) {
   203                 Xutf8LookupString(data->ic, &xevent.xkey, text, sizeof(text),
   203                 Xutf8LookupString(data->ic, &xevent.xkey, text, sizeof(text),
   204                                   &keysym, status);
   204                                   &keysym, &status);
   205             }
   205             }
   206 #else
   206 #else
   207             XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
   207             XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
   208 #endif
   208 #endif
   209             if (*text) {
   209             if (*text) {