comparison src/video/x11/SDL_x11events.c @ 2738:79c1bd651f04

Fixed a bunch of compile warnings on Mac OS X
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 Sep 2008 16:04:20 +0000
parents 44e49d3fa6cf
children 6fc50bdd88c0
comparison
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) {