diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-12-30 22:31:01 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-15 16:38:11 +0100 |
commit | 616d8619f9420eca1eb7adb628de2675d6b359a2 (patch) | |
tree | 5bfff8148814fb32056e77d8b2fae2116e2079e8 /nx-X11/programs/Xserver/hw/nxagent/Args.c | |
parent | c3b6dfe2e2c407ecdbcf0154495d246b10f6a7e7 (diff) | |
download | nx-libs-616d8619f9420eca1eb7adb628de2675d6b359a2.tar.gz nx-libs-616d8619f9420eca1eb7adb628de2675d6b359a2.tar.bz2 nx-libs-616d8619f9420eca1eb7adb628de2675d6b359a2.zip |
nxagent: treat all Traps as Booleans everywhere
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Args.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Args.c | 6 |
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 7902e441d..a18b4f0f9 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c @@ -1075,7 +1075,7 @@ static void nxagentParseSingleOption(char *name, char *value) } else if (!strcmp(name, "render")) { - if (nxagentReconnectTrap == True) + if (nxagentReconnectTrap) { #ifdef DEBUG fprintf(stderr, "nxagentParseSingleOption: Ignoring option 'render' at reconnection.\n"); @@ -1106,7 +1106,7 @@ static void nxagentParseSingleOption(char *name, char *value) } else if (!strcmp(name, "fullscreen")) { - if (nxagentReconnectTrap == True) + if (nxagentReconnectTrap) { #ifdef DEBUG fprintf(stderr, "nxagentParseSingleOption: Ignoring option 'fullscreen' at reconnection.\n"); @@ -1268,7 +1268,7 @@ static void nxagentParseSingleOption(char *name, char *value) } else if (!strcmp(name, "autodpi")) { - if (nxagentReconnectTrap == True) + if (nxagentReconnectTrap) { #ifdef DEBUG fprintf(stderr, "nxagentParseSingleOption: Ignoring option 'autodpi' at reconnection.\n"); |