comparison src/xselect.c @ 335:54f7aa390f4f r21-0-65

Import from CVS: tag r21-0-65
author cvs
date Mon, 13 Aug 2007 10:50:39 +0200
parents 558f606b08ae
children cc15677e0335
comparison
equal deleted inserted replaced
334:58353925ad93 335:54f7aa390f4f
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. Convert a set of atoms to 1361 /* Convert a single atom to a Lisp Symbol.
1362 a vector of symbols. 1362 Convert a set of atoms to a vector of symbols. */
1363 */
1364 else if (type == XA_ATOM) 1363 else if (type == XA_ATOM)
1365 { 1364 {
1366 if (size == sizeof (Atom)) 1365 if (size == sizeof (Atom))
1367 return x_atom_to_symbol (d, *((Atom *) data)); 1366 return x_atom_to_symbol (d, *((Atom *) data));
1368 else 1367 else