summaryrefslogtreecommitdiff
path: root/Xext/geext.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xext/geext.c')
-rw-r--r--Xext/geext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Xext/geext.c b/Xext/geext.c
index 7c4573e8c..fed74dc54 100644
--- a/Xext/geext.c
+++ b/Xext/geext.c
@@ -235,8 +235,7 @@ GEExtensionInit(void)
memset(GEExtensions, 0, sizeof(GEExtensions));
- EventSwapVector[GEEventBase + X_GenericEvent] =
- (EventSwapPtr) SGEGenericEvent;
+ EventSwapVector[X_GenericEvent] = (EventSwapPtr) SGEGenericEvent;
} else {
FatalError("GEInit: AddExtensions failed.\n");
}