Commit ebee6af0 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Clipboard.c: add missing ifdefs

parent 06173efd
...@@ -1937,17 +1937,23 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection, ...@@ -1937,17 +1937,23 @@ int nxagentConvertSelection(ClientPtr client, WindowPtr pWin, Atom selection,
*/ */
XlibAtom p = serverTransToAgentProperty; XlibAtom p = serverTransToAgentProperty;
XlibAtom t; XlibAtom t;
#ifdef DEBUG
char * pstr = "NX_CUT_BUFFER_SERVER"; char * pstr = "NX_CUT_BUFFER_SERVER";
const char * tstr; const char * tstr;
#endif
if (target == clientUTF8_STRING) if (target == clientUTF8_STRING)
{ {
t = serverUTF8_STRING; t = serverUTF8_STRING;
#ifdef DEBUG
tstr = szAgentUTF8_STRING; tstr = szAgentUTF8_STRING;
#endif
} }
else else
{ {
t = XA_STRING; t = XA_STRING;
#ifdef DEBUG
tstr = validateString(NameForAtom(XA_STRING)); tstr = validateString(NameForAtom(XA_STRING));
#endif
} }
#ifdef DEBUG #ifdef DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment