aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 21:21:19 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commitf6cebfd8560c93149924c1c5668e105b0bc7990d (patch)
tree7e072cfd1857cf44aa8fe727d14a11bdeffb6d44 /nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
parent2b4ccc30a7c35593cdd0ec9c19f74cc8217d2a94 (diff)
downloadnx-libs-f6cebfd8560c93149924c1c5668e105b0bc7990d.tar.gz
nx-libs-f6cebfd8560c93149924c1c5668e105b0bc7990d.tar.bz2
nx-libs-f6cebfd8560c93149924c1c5668e105b0bc7990d.zip
nxagent: make nxagentOption Shadow a Boolean
and add the missing init code.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
index bbc30ee01..6573ac0b9 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
@@ -575,7 +575,7 @@ Reply Total Cached Bits In Bits Out Bits/Reply Ratio
fprintf(stderr, "Session: Session terminated at '%s'.\n", GetTimeAsString());
}
- if (nxagentOption(Shadow) == 1)
+ if (nxagentOption(Shadow))
{
NXShadowDestroy();
}