# HG changeset patch # User Sam Lantinga # Date 1279085986 25200 # Node ID f18bc99355074393783dd812e32ddf6858b53a42 # Parent 54cbc34229f45661b948836f333c859a24695a34 Use a better switch for the clipboard property format diff -r 54cbc34229f4 -r f18bc9935507 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