aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXresource.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXresource.c b/nx-X11/programs/Xserver/hw/nxagent/NXresource.c
index 8442db0cb..4d31ed49a 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXresource.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXresource.c
@@ -164,7 +164,7 @@ Bool nxagentFindClientResource(int client, RESTYPE type, void * value)
return False;
}
-int nxagentSwitchResourceType(int client, RESTYPE type, void * value)
+Bool nxagentSwitchResourceType(int client, RESTYPE type, void * value)
{
RESTYPE internalType = 0;
@@ -182,7 +182,7 @@ int nxagentSwitchResourceType(int client, RESTYPE type, void * value)
}
else
{
- return 0;
+ return False;
}
if (client == serverClient -> index)
@@ -192,7 +192,7 @@ int nxagentSwitchResourceType(int client, RESTYPE type, void * value)
client);
#endif
- return 0;
+ return False;
}
for (int i = 0; i < clientTable[serverClient -> index].buckets; i++)
@@ -212,12 +212,12 @@ int nxagentSwitchResourceType(int client, RESTYPE type, void * value)
FreeResource(pResource -> id, RT_NONE);
- return 1;
+ return True;
}
}
}
- return 0;
+ return False;
}
#endif /* NXAGENT_SERVER */