* xselect.c: Relax test for outgoing X longs (Bug#9498).
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Sep 2011 17:49:29 +0000 (10:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 16 Sep 2011 17:49:29 +0000 (10:49 -0700)
commit2e621251cad236fa94c3ea0b53d8e998bf44f72d
tree662fbe7f0e68bca0b21a9b197bf9691226e3488d
parent064f328a6ac90698c719b6eace60d6f4c90e3f08
* xselect.c: Relax test for outgoing X longs (Bug#9498).

(cons_to_x_long): New function.
(lisp_data_to_selection_data): Use it.  Correct the test for
short-versus-long data; it was negated.  Break out of vector
loop, for efficiency, when a long datum is discovered.
src/ChangeLog
src/xselect.c