From e42ab9831beae06e0a3a08b6c12a58b6e71e4380 Mon Sep 17 00:00:00 2001
From: Ulrich Sibiller <uli42@gmx.de>
Date: Thu, 29 Oct 2020 23:18:12 +0100
Subject: Clipboard.c: fix some whitepace, comments and FIXMEs

---
 nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 03f9d2554..3842df30e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1100,7 +1100,7 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
 #endif
   {
     if (!(nxagentOption(Clipboard) == ClipboardServer ||
-	  nxagentOption(Clipboard) == ClipboardBoth))
+          nxagentOption(Clipboard) == ClipboardBoth))
     {
       #ifdef DEBUG
       fprintf (stderr, "%s: clipboard (partly) disabled - denying request.\n", __func__);
@@ -1164,7 +1164,7 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
       }
       else
       {
-	x.u.selectionRequest.target = nxagentRemoteToLocalAtom(X->xselectionrequest.target);
+        x.u.selectionRequest.target = nxagentRemoteToLocalAtom(X->xselectionrequest.target);
       }
 
       sendEventToClient(lastSelectionOwner[index].client, &x);
@@ -1179,7 +1179,7 @@ void nxagentHandleSelectionRequestFromXServer(XEvent *X)
               x.u.selectionRequest.selection, NameForIntAtom(x.u.selectionRequest.selection));
       #endif
       /* no reply to Xserver yet - we will do that once the answer of
-	 the above sendEventToClient arrives */
+         the above sendEventToClient arrives */
     }
     else
     {
@@ -2086,7 +2086,7 @@ FIXME
 
 /*
  * This is called from dix (ProcConvertSelection) if an nxagent client
- * issues a ConvertSelection request. So all the Atoms are internal
+ * issues a ConvertSelection request. So all the Atoms are internal.
  * return codes:
  * 0: let dix process the request
  * 1: don't let dix process the request
@@ -2417,7 +2417,6 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
   UpdateCurrentTime();
   XConvertSelection(nxagentDisplay, remSelection, remTarget, remProperty,
                         serverWindow, CurrentTime);
-
   /* XConvertSelection will always return 1 (check the source!), so no
      need to check */
 
-- 
cgit v1.2.3