summaryrefslogtreecommitdiff
path: root/xserver/xfixes/xfixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/xfixes/xfixes.c')
-rw-r--r--xserver/xfixes/xfixes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/xfixes/xfixes.c b/xserver/xfixes/xfixes.c
index 52c57dfab..48af9ea6e 100644
--- a/xserver/xfixes/xfixes.c
+++ b/xserver/xfixes/xfixes.c
@@ -74,7 +74,7 @@ ProcXFixesQueryVersion(ClientPtr client)
if (version_compare(stuff->majorVersion, stuff->minorVersion,
SERVER_XFIXES_MAJOR_VERSION,
- SERVER_XFIXES_MAJOR_VERSION) < 0) {
+ SERVER_XFIXES_MINOR_VERSION) < 0) {
rep.majorVersion = stuff->majorVersion;
rep.minorVersion = stuff->minorVersion;
}