aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/GetMoEv.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-25 12:38:10 +0000
committermarha <marha@users.sourceforge.net>2009-07-25 12:38:10 +0000
commitc87efef42f76c2ff0dcfad2842ab369beffd21de (patch)
tree0ded972bd95879c77ed8fae6c84d0657fbdba660 /libX11/src/GetMoEv.c
parent1dad159fe09ac3a88b21b98544880e5ecc0e8d54 (diff)
downloadvcxsrv-c87efef42f76c2ff0dcfad2842ab369beffd21de.tar.gz
vcxsrv-c87efef42f76c2ff0dcfad2842ab369beffd21de.tar.bz2
vcxsrv-c87efef42f76c2ff0dcfad2842ab369beffd21de.zip
Added libX11-1.2.2.tar.gz.
Diffstat (limited to 'libX11/src/GetMoEv.c')
-rw-r--r--libX11/src/GetMoEv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libX11/src/GetMoEv.c b/libX11/src/GetMoEv.c
index dac1bfc4c..a200f7871 100644
--- a/libX11/src/GetMoEv.c
+++ b/libX11/src/GetMoEv.c
@@ -34,10 +34,10 @@ in this Software without prior written authorization from The Open Group.
XTimeCoord *XGetMotionEvents(
register Display *dpy,
Window w,
- Time start,
+ Time start,
Time stop,
int *nEvents) /* RETURN */
-{
+{
xGetMotionEventsReply rep;
register xGetMotionEventsReq *req;
XTimeCoord *tc = NULL;
@@ -53,10 +53,10 @@ XTimeCoord *XGetMotionEvents(
SyncHandle();
return (NULL);
}
-
+
if (rep.nEvents) {
if (! (tc = (XTimeCoord *)
- Xmalloc( (unsigned)
+ Xmalloc( (unsigned)
(nbytes = (long) rep.nEvents * sizeof(XTimeCoord))))) {
_XEatData (dpy, (unsigned long) nbytes);
UnlockDisplay(dpy);