Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4515:54cbc34229f4 | 4516:f18bc9935507 |
---|---|
26 #include "SDL_events.h" | 26 #include "SDL_events.h" |
27 #include "SDL_x11video.h" | 27 #include "SDL_x11video.h" |
28 | 28 |
29 | 29 |
30 /* If you don't support UTF-8, you might use XA_STRING here */ | 30 /* If you don't support UTF-8, you might use XA_STRING here */ |
31 #if 1 | 31 #ifdef X_HAVE_UTF8_STRING |
32 #define TEXT_FORMAT XInternAtom(display, "UTF8_STRING", False) | 32 #define TEXT_FORMAT XInternAtom(display, "UTF8_STRING", False) |
33 #else | 33 #else |
34 #define TEXT_FORMAT XA_STRING | 34 #define TEXT_FORMAT XA_STRING |
35 #endif | 35 #endif |
36 | 36 |