comparison src/xselect.c @ 17614:da246ef7532c

(x_reply_selection_request): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 01 May 1997 21:35:31 +0000
parents 23baa4f48b6e
children 549a40f0cbe1
comparison
equal deleted inserted replaced
17613:7dadfa677617 17614:da246ef7532c
527 if (reply.property == None) 527 if (reply.property == None)
528 reply.property = reply.target; 528 reply.property = reply.target;
529 529
530 /* #### XChangeProperty can generate BadAlloc, and we must handle it! */ 530 /* #### XChangeProperty can generate BadAlloc, and we must handle it! */
531 BLOCK_INPUT; 531 BLOCK_INPUT;
532 x_catch_errors (display, count); 532 count = x_catch_errors (display);
533 533
534 /* Store the data on the requested property. 534 /* Store the data on the requested property.
535 If the selection is large, only store the first N bytes of it. 535 If the selection is large, only store the first N bytes of it.
536 */ 536 */
537 bytes_remaining = size * format_bytes; 537 bytes_remaining = size * format_bytes;