From 55e798a19e96ae6b37b757bd6df8cf964c42850b Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 1 May 2024 15:15:46 +0200 Subject: NXproperty.y/property.c: fix comments --- nx-X11/programs/Xserver/dix/property.c | 10 +++++----- nx-X11/programs/Xserver/hw/nxagent/NXproperty.c | 10 +++++----- 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) { -- cgit v1.2.3