From d38d6f197ad63ef3b48e00e737a558ed202db78a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 13 Jul 2010 22:39:46 -0700 Subject: [PATCH] Use a better switch for the clipboard property format --- src/video/x11/SDL_x11clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11clipboard.c b/src/video/x11/SDL_x11clipboard.c index ddd8cdc41..6c9740bd7 100644 --- a/src/video/x11/SDL_x11clipboard.c +++ b/src/video/x11/SDL_x11clipboard.c @@ -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