Commit 3e093f9e authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: make nxagentDoFullgeneration a Boolean

parent 090742b3
......@@ -1796,7 +1796,7 @@ void nxagentCloseDisplay(void)
nxagentDoFullGeneration, (void *) nxagentDisplay);
#endif
if (nxagentDoFullGeneration == 0 ||
if (!nxagentDoFullGeneration ||
nxagentDisplay == NULL)
{
return;
......
......@@ -171,7 +171,7 @@ int nxagentSaveUnder;
* nxagentOpenScreen
* InitInput
*/
int nxagentDoFullGeneration = 1;
Bool nxagentDoFullGeneration = True;
/*
* True if agent is running as X2goAgent
......
......@@ -1657,7 +1657,7 @@ N/A
nxagentPrintAgentGeometry(NULL, "nxagentOpenScreen:");
#endif
if (nxagentDoFullGeneration == 1 ||
if (nxagentDoFullGeneration ||
nxagentReconnectTrap)
{
unsigned long valuemask = CWBackPixel | CWEventMask | CWColormap;
......
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