aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Args.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-03-29 23:58:49 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-08 08:23:36 +0200
commitaf5cf2659c4cc7c009ed7fa0fbb1a58e210e6453 (patch)
tree671e3933d3eabc4d3b2c8c45589e52288f551743 /nx-X11/programs/Xserver/hw/nxagent/Args.c
parent3823b0a5b65bcfd4d38d9db9c481ef119781549e (diff)
downloadnx-libs-af5cf2659c4cc7c009ed7fa0fbb1a58e210e6453.tar.gz
nx-libs-af5cf2659c4cc7c009ed7fa0fbb1a58e210e6453.tar.bz2
nx-libs-af5cf2659c4cc7c009ed7fa0fbb1a58e210e6453.zip
nxagent: treat enableBackingStore as Boolean
Use TRUE and FALSE like dix does.
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 f96c2e238..b4f9e7c83 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -1998,16 +1998,16 @@ FIXME: In rootless mode the backing-store support is not functional yet.
*/
if (nxagentOption(Rootless))
{
- enableBackingStore = 0;
+ enableBackingStore = FALSE;
}
else if (nxagentOption(BackingStore) == BackingStoreUndefined ||
nxagentOption(BackingStore) == BackingStoreForce)
{
- enableBackingStore = 1;
+ enableBackingStore = TRUE;
}
else if (nxagentOption(BackingStore) == BackingStoreNever)
{
- enableBackingStore = 0;
+ enableBackingStore = FALSE;
}
/*