Use a better switch for the clipboard property format
authorSam Lantinga <slouken@libsdl.org>
Tue, 13 Jul 2010 22:39:46 -0700
changeset 4516 f18bc9935507
parent 4515 54cbc34229f4
child 4517 7b5e4396bcaa
Use a better switch for the clipboard property format
src/video/x11/SDL_x11clipboard.c
--- 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