comparison src/xselect.c @ 394:7d59cb494b73 r21-2-12

Import from CVS: tag r21-2-12
author cvs
date Mon, 13 Aug 2007 11:11:37 +0200
parents 8626e4521993
children
comparison
equal deleted inserted replaced
393:2e030b8965b1 394:7d59cb494b73
1341 return make_ext_string (data, size, 1341 return make_ext_string (data, size,
1342 type == DEVICE_XATOM_TEXT (d) || 1342 type == DEVICE_XATOM_TEXT (d) ||
1343 type == DEVICE_XATOM_COMPOUND_TEXT (d) 1343 type == DEVICE_XATOM_COMPOUND_TEXT (d)
1344 ? FORMAT_CTEXT : FORMAT_BINARY); 1344 ? FORMAT_CTEXT : FORMAT_BINARY);
1345 1345
1346 /* Convert a single atom to a Lisp Symbol. Convert a set of atoms to 1346 /* Convert a single atom to a Lisp Symbol.
1347 a vector of symbols. 1347 Convert a set of atoms to a vector of symbols. */
1348 */
1349 else if (type == XA_ATOM) 1348 else if (type == XA_ATOM)
1350 { 1349 {
1351 if (size == sizeof (Atom)) 1350 if (size == sizeof (Atom))
1352 return x_atom_to_symbol (d, *((Atom *) data)); 1351 return x_atom_to_symbol (d, *((Atom *) data));
1353 else 1352 else