aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2024-05-01 15:15:46 +0200
committerUlrich Sibiller <uli42@gmx.de>2024-05-11 18:53:27 +0200
commit55e798a19e96ae6b37b757bd6df8cf964c42850b (patch)
treed85d393293f60ac20a4357681ffe9126be6b1b68 /nx-X11/programs
parent436034c699f2bc552135cc48a598788a42b239a2 (diff)
downloadnx-libs-55e798a19e96ae6b37b757bd6df8cf964c42850b.tar.gz
nx-libs-55e798a19e96ae6b37b757bd6df8cf964c42850b.tar.bz2
nx-libs-55e798a19e96ae6b37b757bd6df8cf964c42850b.zip
NXproperty.y/property.c: fix comments
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/dix/property.c10
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXproperty.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/nx-X11/programs/Xserver/dix/property.c b/nx-X11/programs/Xserver/dix/property.c
index 37af8d592..b394327bc 100644
--- a/nx-X11/programs/Xserver/dix/property.c
+++ b/nx-X11/programs/Xserver/dix/property.c
@@ -549,14 +549,14 @@ ProcGetProperty(ClientPtr client)
return(Success);
}
-/*
- * Return type, format, value to client
- */
+ /*
+ * Return type, format, value to client
+ */
n = (pProp->format/8) * pProp->size; /* size (bytes) of prop */
ind = stuff->longOffset << 2;
- /* If longOffset is invalid such that it causes "len" to
- be negative, it's a value error. */
+ /* If longOffset is invalid such that it causes "len" to
+ be negative, it's a value error. */
if (n < ind)
{
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c b/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
index 8c18047fd..ea8a98d1c 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
@@ -363,14 +363,14 @@ ProcGetProperty(ClientPtr client)
return(Success);
}
-/*
- * Return type, format, value to client
- */
+ /*
+ * Return type, format, value to client
+ */
n = (pProp->format/8) * pProp->size; /* size (bytes) of prop */
ind = stuff->longOffset << 2;
- /* If longOffset is invalid such that it causes "len" to
- be negative, it's a value error. */
+ /* If longOffset is invalid such that it causes "len" to
+ be negative, it's a value error. */
if (n < ind)
{