aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/NXresource.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXresource.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXresource.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXresource.c b/nx-X11/programs/Xserver/hw/nxagent/NXresource.c
index 53b355ff8..8442db0cb 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXresource.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXresource.c
@@ -140,7 +140,7 @@ static int nxagentResChangedFlag = 0;
#endif
#ifdef NXAGENT_SERVER
-int nxagentFindClientResource(int client, RESTYPE type, void * value)
+Bool nxagentFindClientResource(int client, RESTYPE type, void * value)
{
for (int i = 0; i < clientTable[client].buckets; i++)
{
@@ -156,12 +156,12 @@ int nxagentFindClientResource(int client, RESTYPE type, void * value)
pResource -> type, client);
#endif
- return 1;
+ return True;
}
}
}
- return 0;
+ return False;
}
int nxagentSwitchResourceType(int client, RESTYPE type, void * value)