comparison src/xselect.c @ 371:cc15677e0335 r21-2b1

Import from CVS: tag r21-2b1
author cvs
date Mon, 13 Aug 2007 11:03:08 +0200
parents 54f7aa390f4f
children 8626e4521993
comparison
equal deleted inserted replaced
370:bd866891f083 371:cc15677e0335
1356 return make_ext_string (data, size, 1356 return make_ext_string (data, size,
1357 type == DEVICE_XATOM_TEXT (d) || 1357 type == DEVICE_XATOM_TEXT (d) ||
1358 type == DEVICE_XATOM_COMPOUND_TEXT (d) 1358 type == DEVICE_XATOM_COMPOUND_TEXT (d)
1359 ? FORMAT_CTEXT : FORMAT_BINARY); 1359 ? FORMAT_CTEXT : FORMAT_BINARY);
1360 1360
1361 /* Convert a single atom to a Lisp Symbol. 1361 /* Convert a single atom to a Lisp Symbol. Convert a set of atoms to
1362 Convert a set of atoms to a vector of symbols. */ 1362 a vector of symbols.
1363 */
1363 else if (type == XA_ATOM) 1364 else if (type == XA_ATOM)
1364 { 1365 {
1365 if (size == sizeof (Atom)) 1366 if (size == sizeof (Atom))
1366 return x_atom_to_symbol (d, *((Atom *) data)); 1367 return x_atom_to_symbol (d, *((Atom *) data));
1367 else 1368 else