diff options
author | Zephaniah E. Hull <warp@agamemnon.b5> | 2006-09-10 15:49:25 -0400 |
---|---|---|
committer | Zephaniah E. Hull <warp@agamemnon.b5> | 2006-09-10 15:49:25 -0400 |
commit | 0a3740a0000191e3039fe183ae51b938d0548340 (patch) | |
tree | 4070cffd48a1bde1170707764450f5d088481eaf /Xi/selectev.c | |
parent | 8d709f0280b458515b32c2b87938749428e5c149 (diff) |
Typo correction, 'i' is not a '1', so no longer crash on some Xi requests.
Diffstat (limited to 'Xi/selectev.c')
-rw-r--r-- | Xi/selectev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/selectev.c b/Xi/selectev.c index 1f6713ad4..7d3ef9d48 100644 --- a/Xi/selectev.c +++ b/Xi/selectev.c @@ -178,7 +178,7 @@ ProcXSelectExtensionEvent(register ClientPtr client) return Success; } - if (HandleDevicePresenceMask(client, pWin, (XEventClass *) & stuff[i], + if (HandleDevicePresenceMask(client, pWin, (XEventClass *) & stuff[1], &stuff->count) != Success) { SendErrorToClient(client, IReqCode, X_SelectExtensionEvent, 0, BadAlloc); |