aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Split.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 23:21:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commit06833b9646f6286effac00a058b231f7ddbb960f (patch)
treec62cf9def6af38d40d153f48dba50bb495ae3242 /nx-X11/programs/Xserver/hw/nxagent/Split.c
parent84bad7324f148f323ac6eaff39c38eaccb6539a5 (diff)
downloadnx-libs-06833b9646f6286effac00a058b231f7ddbb960f.tar.gz
nx-libs-06833b9646f6286effac00a058b231f7ddbb960f.tar.bz2
nx-libs-06833b9646f6286effac00a058b231f7ddbb960f.zip
Split.c, Image.c: make some internal variables Booleans
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Split.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Split.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Split.c b/nx-X11/programs/Xserver/hw/nxagent/Split.c
index 850056c21..60af4a0d6 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Split.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Split.c
@@ -829,11 +829,11 @@ static Bool nxagentWaitSplitPredicate(Display *disp, XEvent *event, XPointer ptr
event -> xclient.format == 32);
}
-int nxagentWaitSplitEvent(int resource)
+Bool nxagentWaitSplitEvent(int resource)
{
XEvent event;
- int split = 0;
+ Bool split = 0;
/*
* Don't flush the link. We only want to query the NX transport to
@@ -890,7 +890,7 @@ int nxagentWaitSplitEvent(int resource)
{
nxagentHandleStartSplitEvent(resource);
- split = 1;
+ split = True;
break;
}