[Commits] SDL: x11: Patched to compile on systems without the Xutf8LookupS...

libsdl.org revision control commits-owner at libsdl.org
Fri Jul 10 21:59:55 PDT 2015


details:   https://hg.libsdl.org/SDL/rev/d1e20d38e5f5
changeset: 9799:d1e20d38e5f5
user:      Ryan C. Gordon <icculus at icculus.org>
date:      Sat Jul 11 00:59:56 2015 -0400
description:
x11: Patched to compile on systems without the Xutf8LookupString() function.

diffstat:

 src/video/x11/SDL_x11events.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ab7d231295cd -r d1e20d38e5f5 src/video/x11/SDL_x11events.c
--- a/src/video/x11/SDL_x11events.c	Mon Jul 06 21:02:20 2015 +0200
+++ b/src/video/x11/SDL_x11events.c	Sat Jul 11 00:59:56 2015 -0400
@@ -808,7 +808,7 @@
                                   &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


More information about the commits mailing list