src/video/x11/SDL_x11events.c
changeset 12968 0e3948762c96
parent 12734 328690dfbdfb
equal deleted inserted replaced
12966:0262d439e9c6 12968:0e3948762c96
   896                         keycode, keycode - min_keycode, keysym,
   896                         keycode, keycode - min_keycode, keysym,
   897                         X11_XKeysymToString(keysym));
   897                         X11_XKeysymToString(keysym));
   898             }
   898             }
   899 #endif
   899 #endif
   900             /* */
   900             /* */
   901             SDL_zero(text);
   901             SDL_zeroa(text);
   902 #ifdef X_HAVE_UTF8_STRING
   902 #ifdef X_HAVE_UTF8_STRING
   903             if (data->ic) {
   903             if (data->ic) {
   904                 X11_Xutf8LookupString(data->ic, &xevent.xkey, text, sizeof(text),
   904                 X11_Xutf8LookupString(data->ic, &xevent.xkey, text, sizeof(text),
   905                                   &keysym, &status);
   905                                   &keysym, &status);
   906             } else {
   906             } else {