Browse Source

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

Ryan C. Gordon 10 years ago
parent
commit
0c19501eeb
1 changed files with 1 additions and 1 deletions
  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);
             }
 #else
-            XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
+            X11_XLookupString(&xevent.xkey, text, sizeof(text), &keysym, NULL);
 #endif
 
 #ifdef SDL_USE_IBUS