Changeset 198
- Timestamp:
- 01/12/08 21:42:52 (1 year ago)
- Files:
-
- xsel/trunk/xsel.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
xsel/trunk/xsel.c
r197 r198 1981 1981 /* Get the UTF8_STRING atom */ 1982 1982 utf8_atom = XInternAtom (display, "UTF8_STRING", True); 1983 if( utf8_atom != None) 1984 { 1983 if(utf8_atom != None) { 1985 1984 supported_targets[s++] = utf8_atom; 1986 1985 NUM_TARGETS++; 1987 } 1988 else 1989 { 1986 } else { 1990 1987 utf8_atom = XA_STRING; 1991 }1988 } 1992 1989 1993 1990 supported_targets[s++] = XA_STRING; 1994 1991 NUM_TARGETS++; 1995 1992 1996 if( need_utf8 == True) 1997 { 1993 if( need_utf8 == True) { 1998 1994 local_target=utf8_atom; 1999 } 2000 else 2001 { 1995 } else { 2002 1996 local_target=XA_STRING; 2003 } 1997 } 1998 2004 1999 /* handle selection keeping and exit if so */ 2005 2000 if (do_keep) {
