[X2Go-Commits] [nx-libs] 408/429: Clipboard.c: rename intermediate variable

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:37:16 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 62775ed673e4c3008b48dad2a4659271d5e02b02
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Wed Jun 16 20:44:16 2021 +0200

    Clipboard.c: rename intermediate variable
    
    Using a capital letter here better reflects that this is an event from
    the real X server.
---
 nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 00a2dd1fd..326f62ca7 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1835,27 +1835,27 @@ void nxagentHandleSelectionNotifyFromXServer(XEvent *X)
     return;
   }
 
-  XSelectionEvent * e = (XSelectionEvent *)X;
+  XSelectionEvent *E = (XSelectionEvent *)X;
   #ifdef DEBUG
   fprintf(stderr, "---------\n%s: Received SelectionNotify event from real X server, property " \
               "[%ld][%s] requestor [0x%lx] selection [%s] target [%ld][%s] time [%lu] send_event [%d].\n",
-                  __func__, e->property, NameForRemoteAtom(e->property), e->requestor,
-                      NameForRemoteAtom(e->selection), e->target,
-                          NameForRemoteAtom(e->target), e->time, e->send_event);
+                  __func__, E->property, NameForRemoteAtom(E->property), E->requestor,
+                      NameForRemoteAtom(E->selection), E->target,
+                          NameForRemoteAtom(E->target), E->time, E->send_event);
 
   /* this has not been SENT by nxagent but is the answer to a request of nxagent */
-  if (e->requestor == serverWindow)
+  if (E->requestor == serverWindow)
   {
     fprintf(stderr, "%s: requestor is nxagent's serverWindow!\n", __func__);;
   }
   #endif
 
   /* determine the selection we are talking about here */
-  int index = nxagentFindLastSelectionOwnerIndex(e->selection);
+  int index = nxagentFindLastSelectionOwnerIndex(E->selection);
   if (index == -1)
   {
     #ifdef DEBUG
-    fprintf (stderr, "%s: unknown selection [%ld] .\n", __func__, e->selection);
+    fprintf (stderr, "%s: unknown selection [%ld] .\n", __func__, E->selection);
     #endif
     return;
   }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list