mirror of
https://github.com/X11Libre/xserver.git
synced 2026-01-26 05:57:53 +00:00
render: consistenly name reply structs "reply" instead of "rep"
Preparation for future use of generic reply assembly macros. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
de60ac5bbe
commit
aa8064be86
@ -152,22 +152,22 @@ ProcRenderQueryVersion(ClientPtr client)
|
||||
pRenderClient->major_version = stuff->majorVersion;
|
||||
pRenderClient->minor_version = stuff->minorVersion;
|
||||
|
||||
xRenderQueryVersionReply rep = {
|
||||
xRenderQueryVersionReply reply = {
|
||||
.majorVersion = SERVER_RENDER_MAJOR_VERSION,
|
||||
.minorVersion = SERVER_RENDER_MINOR_VERSION
|
||||
};
|
||||
|
||||
if ((stuff->majorVersion * 1000 + stuff->minorVersion) <
|
||||
(SERVER_RENDER_MAJOR_VERSION * 1000 + SERVER_RENDER_MINOR_VERSION)) {
|
||||
rep.majorVersion = stuff->majorVersion;
|
||||
rep.minorVersion = stuff->minorVersion;
|
||||
reply.majorVersion = stuff->majorVersion;
|
||||
reply.minorVersion = stuff->minorVersion;
|
||||
}
|
||||
|
||||
if (client->swapped) {
|
||||
swapl(&rep.majorVersion);
|
||||
swapl(&rep.minorVersion);
|
||||
swapl(&reply.majorVersion);
|
||||
swapl(&reply.minorVersion);
|
||||
}
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return X_SEND_REPLY_SIMPLE(client, reply);
|
||||
}
|
||||
|
||||
static VisualPtr
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user