xserver: Branch 'master'
Matthieu Herrb
herrb at kemper.freedesktop.org
Thu Aug 23 13:42:46 PDT 2007
dix/getevents.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree a66c0f1dca2958835ff65a5b50579e3304ed316a (from 12d27cf33c6d963eae77795c0d247175907162a5)
Author: Matthieu Herrb <matthieu at bluenote.herrb.com>
Date: Thu Aug 23 22:11:56 2007 +0200
Remove an extra cast.
Thou should not apply patches manually without testing.
diff --git a/dix/getevents.c b/dix/getevents.c
index 52b74bd..162fa45 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -250,7 +250,7 @@ acceleratePointer(DeviceIntPtr pDev, int
}
}
else {
- mult = pow((float)((float)dx * (float)dx + (float)dy * (float)dy),
+ mult = pow((float)dx * (float)dx + (float)dy * (float)dy,
((float)(pDev->ptrfeed->ctrl.num) /
(float)(pDev->ptrfeed->ctrl.den) - 1.0) /
2.0) / 2.0;
More information about the xorg-commit
mailing list