aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-05-03 22:46:33 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-06 00:18:44 +0100
commit2b9a6ddc2fb90ecf8f5ef0ab839345bb5916df52 (patch)
tree1a68059fd83e8f7573046c0ef8a582c6cb5f55d7
parent51e60ada36f6bd41b87d87fddb2c30b2aed74bf8 (diff)
downloadnx-libs-2b9a6ddc2fb90ecf8f5ef0ab839345bb5916df52.tar.gz
nx-libs-2b9a6ddc2fb90ecf8f5ef0ab839345bb5916df52.tar.bz2
nx-libs-2b9a6ddc2fb90ecf8f5ef0ab839345bb5916df52.zip
NXdispatch.c: cleanup ProcCloseFont()
minimize differences to dix/dispatch.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 2877d24a0..00bd14734 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXdispatch.c
@@ -807,7 +807,7 @@ ProcCloseFont(register ClientPtr client)
REQUEST_SIZE_MATCH(xResourceReq);
pFont = (FontPtr)SecurityLookupIDByType(client, stuff->id, RT_FONT,
DixDestroyAccess);
- if (pFont != (FontPtr)NULL)
+ if ( pFont != (FontPtr)NULL) /* id was valid */
{
#ifdef NXAGENT_SERVER