summaryrefslogtreecommitdiff
path: root/dix/getevents.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@bluenote.herrb.com>2007-08-23 22:11:56 +0200
committerMatthieu Herrb <matthieu@bluenote.herrb.com>2007-08-23 22:11:56 +0200
commita66c0f1dca2958835ff65a5b50579e3304ed316a (patch)
tree569ec0d26cf0920ca4c291790ff6040aa17bc397 /dix/getevents.c
parent12d27cf33c6d963eae77795c0d247175907162a5 (diff)
Remove an extra cast.
Thou should not apply patches manually without testing.
Diffstat (limited to 'dix/getevents.c')
-rw-r--r--dix/getevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/getevents.c b/dix/getevents.c
index 52b74bd30..162fa45f8 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -250,7 +250,7 @@ acceleratePointer(DeviceIntPtr pDev, int first_valuator, int num_valuators,
}
}
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;