diff src/xselect.c @ 78763:8110f4179a3a

(cnt): Rename to x_reply_selection_request_cnt for clarity. (x_reply_selection_request): All uses changed.
author Glenn Morris <rgm@gnu.org>
date Wed, 12 Sep 2007 17:19:09 +0000
parents 4c7b6a25a97b
children fc2bcd2a8aad
line wrap: on
line diff
--- a/src/xselect.c	Wed Sep 12 17:17:59 2007 +0000
+++ b/src/xselect.c	Wed Sep 12 17:19:09 2007 +0000
@@ -684,7 +684,7 @@
    FORMAT is the unit-size (in bits) of the data to be transmitted.  */
 
 #ifdef TRACE_SELECTION
-static int cnt;
+static int x_reply_selection_request_cnt;
 #endif  /* TRACE_SELECTION */
 
 static void
@@ -727,7 +727,7 @@
   {
     char *sel = XGetAtomName (display, reply.selection);
     char *tgt = XGetAtomName (display, reply.target);
-    TRACE3 ("%s, target %s (%d)", sel, tgt, ++cnt);
+    TRACE3 ("%s, target %s (%d)", sel, tgt, ++x_reply_selection_request_cnt);
     if (sel) XFree (sel);
     if (tgt) XFree (tgt);
   }