Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11clipboard.c @ 4516:f18bc9935507
Use a better switch for the clipboard property format
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 13 Jul 2010 22:39:46 -0700 |
parents | 8e91c3947210 |
children | 58265e606e4e |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11clipboard.c Tue Jul 13 22:26:50 2010 -0700 +++ b/src/video/x11/SDL_x11clipboard.c Tue Jul 13 22:39:46 2010 -0700 @@ -28,7 +28,7 @@ /* If you don't support UTF-8, you might use XA_STRING here */ -#if 1 +#ifdef X_HAVE_UTF8_STRING #define TEXT_FORMAT XInternAtom(display, "UTF8_STRING", False) #else #define TEXT_FORMAT XA_STRING