summaryrefslogtreecommitdiff
path: root/src/xselect.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-09-12 07:24:31 +0000
committerGlenn Morris <rgm@gnu.org>2007-09-12 07:24:31 +0000
commitca7af97ab35eb266bb9320208c6c27721e32d12a (patch)
treead6381de21bd918d7022856153eb3f1f3ea1cd30 /src/xselect.c
parent839cc4d4f4446d77925b7b95177671e1ba55b0b7 (diff)
downloademacs-ca7af97ab35eb266bb9320208c6c27721e32d12a.tar.gz
(cnt): Rename to x_reply_selection_request_cnt for clarity.
(x_reply_selection_request): All uses changed.
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xselect.c b/src/xselect.c
index cd1ad05fe26..d71ac42aa7c 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -692,7 +692,7 @@ some_frame_on_display (dpyinfo)
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
@@ -735,7 +735,7 @@ x_reply_selection_request (event, format, data, size, type)
{
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);
}