mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 18:48:46 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user