Xext: xtest: use REPLY_*() macros for preparing / sending replies

Use the new macros for preparing and sending replies to clients.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-07-08 17:57:03 +02:00
parent 3624d66cd0
commit 39d6fa6591

View File

@@ -101,8 +101,7 @@ ProcXTestGetVersion(ClientPtr client)
.minorVersion = XTestMinorVersion
};
if (client->swapped)
swaps(&reply.minorVersion);
REPLY_FIELD_CARD16(minorVersion);
return X_SEND_REPLY_SIMPLE(client, reply);
}