aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index 554f7ae38..6d63f768a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -1220,13 +1220,13 @@ static void nxagentParseSingleOption(char *name, char *value)
}
else if (!strcmp(name, "resize"))
{
- if (nxagentOption(DesktopResize) == 0 || strcmp(value, "0") == 0)
+ if (!nxagentOption(DesktopResize) || strcmp(value, "0") == 0)
{
- nxagentResizeDesktopAtStartup = 0;
+ nxagentResizeDesktopAtStartup = False;
}
else if (strcmp(value, "1") == 0)
{
- nxagentResizeDesktopAtStartup = 1;
+ nxagentResizeDesktopAtStartup = True;
}
else
{