aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Clipboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 73cb1e7e5..0589d33bb 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1937,17 +1937,23 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
*/
XlibAtom p = serverTransToAgentProperty;
XlibAtom t;
+ #ifdef DEBUG
char * pstr = "NX_CUT_BUFFER_SERVER";
const char * tstr;
+ #endif
if (target == clientUTF8_STRING)
{
t = serverUTF8_STRING;
+ #ifdef DEBUG
tstr = szAgentUTF8_STRING;
+ #endif
}
else
{
t = XA_STRING;
+ #ifdef DEBUG
tstr = validateString(NameForAtom(XA_STRING));
+ #endif
}
#ifdef DEBUG