From 9a5f519a02d63700aaa742e50ddb5ba67ca7d2b4 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 10 Oct 2018 00:21:48 +0200 Subject: Clipboard.c: Code optimization (missing else) --- nx-X11/programs/Xserver/hw/nxagent/Clipboard.c | 3 +-- 1 file changed, 1 insertion(+), 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++; -- cgit v1.2.3