aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-18 15:24:20 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 14:57:15 +0200
commitb7169bdcaf320e219dec23e79882176bc4b69d4c (patch)
tree5a396d0023d036ecbcdb330f9cef516090b85f6a /nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c
parent6d96798865838744966b897bca6cc2db2d6cfaff (diff)
downloadnx-libs-b7169bdcaf320e219dec23e79882176bc4b69d4c.tar.gz
nx-libs-b7169bdcaf320e219dec23e79882176bc4b69d4c.tar.bz2
nx-libs-b7169bdcaf320e219dec23e79882176bc4b69d4c.zip
nxagent: make all traps Booleans
and use True/False instead of 1/0
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c b/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c
index 545d9255c..8d7af08c0 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXxvdisp.c
@@ -79,11 +79,11 @@ ProcXvDispatch(ClientPtr client)
stuff->data, client -> index);
#endif
- nxagentXvTrap = 1;
+ nxagentXvTrap = True;
result = xorg_ProcXvDispatch(client);
- nxagentXvTrap = 0;
+ nxagentXvTrap = False;
#ifdef TEST
fprintf(stderr, "ProcXvDispatch: Dispatched XVideo operation [%d] for client [%d].\n",
@@ -108,11 +108,11 @@ SProcXvDispatch(ClientPtr client)
stuff->data, client -> index);
#endif
- nxagentXvTrap = 1;
+ nxagentXvTrap = True;
result = xorg_SProcXvDispatch(client);
- nxagentXvTrap = 0;
+ nxagentXvTrap = False;
#ifdef TEST
fprintf(stderr, "SProcXvDispatch: Dispatched XVideo operation [%d] for client [%d].\n",