aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-10-10 00:21:48 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-10-27 20:55:02 +0200
commit9a5f519a02d63700aaa742e50ddb5ba67ca7d2b4 (patch)
tree1b616c92e982b2293a4db97a88554e6c069b3ee7 /nx-X11/programs
parent888de83ac9d80495cfc3bc3b29277eedd1917feb (diff)
downloadnx-libs-9a5f519a02d63700aaa742e50ddb5ba67ca7d2b4.tar.gz
nx-libs-9a5f519a02d63700aaa742e50ddb5ba67ca7d2b4.tar.bz2
nx-libs-9a5f519a02d63700aaa742e50ddb5ba67ca7d2b4.zip
Clipboard.c: Code optimization (missing else)
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 456da35a0..7c6328183 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -504,8 +504,7 @@ FIXME: Do we need this?
1);
eventSelection.property = X->xselectionrequest.property;
}
-
- if (X->xselectionrequest.target == nxagentTimestampAtom)
+ else if (X->xselectionrequest.target == nxagentTimestampAtom)
{
while ((i < NumCurrentSelections) &&
lastSelectionOwner[i].selection != X->xselectionrequest.selection) i++;