(x_reply_selection_request): Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Thu, 1 May 1997 21:35:31 +0000 (21:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 1 May 1997 21:35:31 +0000 (21:35 +0000)
src/xselect.c

index 2a94e2a..81cce31 100644 (file)
@@ -529,7 +529,7 @@ x_reply_selection_request (event, format, data, size, type)
 
   /* #### XChangeProperty can generate BadAlloc, and we must handle it! */
   BLOCK_INPUT;
-  x_catch_errors (display, count);
+  count = x_catch_errors (display);
 
   /* Store the data on the requested property.
      If the selection is large, only store the first N bytes of it.