Explorar el Código

x11: Patched to compile on systems without the Xutf8LookupString() function.

Ryan C. Gordon hace 10 años
padre
commit
0c19501eeb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/video/x11/SDL_x11events.c

+ 1 - 1
src/video/x11/SDL_x11events.c

@@ -808,7 +808,7 @@ X11_DispatchEvent(_THIS)
                                   &keysym, &status);
                                   &keysym, &status);
             }
             }
 #else
 #else
-            XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
+            X11_XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
 #endif
 #endif
 
 
 #ifdef SDL_USE_IBUS
 #ifdef SDL_USE_IBUS