changeset 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 54cbc34229f4
children 7b5e4396bcaa
files src/video/x11/SDL_x11clipboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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