aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/GetPntMap.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/GetPntMap.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/GetPntMap.c')
-rw-r--r--libX11/src/GetPntMap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/GetPntMap.c b/libX11/src/GetPntMap.c
index 426c9ac9d..f3446354e 100644
--- a/libX11/src/GetPntMap.c
+++ b/libX11/src/GetPntMap.c
@@ -67,11 +67,11 @@ int XGetPointerMapping (
_XRead (dpy, (char *)mapping, nbytes);
/* don't return more data than the user asked for. */
if (rep.nElts) {
- memcpy ((char *) map, (char *) mapping,
+ memcpy ((char *) map, (char *) mapping,
MIN((int)rep.nElts, nmaps) );
}
- if (remainder)
+ if (remainder)
_XEatData(dpy, (unsigned long)remainder);
UnlockDisplay(dpy);