summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
Diffstat (limited to 'dix')
-rw-r--r--dix/ptrveloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index c40fbc0d6..a91366602 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -745,14 +745,14 @@ ComputeAcceleration(
res /= 6.0f;
DebugAccelF("(dix ptracc) profile average [%.2f ... %.2f] is %.3f\n",
vel->velocity, vel->last_velocity, res);
- return res;
}else{
res = BasicComputeAcceleration(dev, vel,
vel->velocity, threshold, acc);
DebugAccelF("(dix ptracc) profile sample [%.2f] is %.3f\n",
vel->velocity, res);
- return res;
}
+
+ return res;
}