summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorSimon Thum <simon.thum@gmx.de>2008-11-19 15:05:50 +1000
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-21 09:04:17 +1000
commit7f818776b7a19bd6100596d327ecaa69be317bc6 (patch)
tree6f4d10bed87a68b832cd40779fa4e56bf0b4e01b /dix
parent037ec5a3c496b07f885a128828ef804b3aa8eee2 (diff)
dix: fix typos in comments, one formatting fix.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/devices.c2
-rw-r--r--dix/ptrveloc.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 2ec928415..904c404f0 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -1278,7 +1278,7 @@ ValuatorAccelerationRec pointerAccelerationScheme[] = {
};
/**
- * install an acceleration scheme. retrns TRUE on success, and should not
+ * install an acceleration scheme. returns TRUE on success, and should not
* change anything if unsuccessful.
*/
_X_EXPORT Bool
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index 2406be8cd..5496ba323 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -33,7 +33,7 @@
#include <os.h>
/*****************************************************************************
- * Predictable pointer ballistics
+ * Predictable pointer acceleration
*
* 2006-2008 by Simon Thum (simon [dot] thum [at] gmx de)
*
@@ -131,7 +131,8 @@ FreeVelocityData(DeviceVelocityPtr s){
* dix uninit helper, called through scheme
*/
void
-AccelerationDefaultCleanup(DeviceIntPtr pDev){
+AccelerationDefaultCleanup(DeviceIntPtr pDev)
+{
/*sanity check*/
if( pDev->valuator->accelScheme.AccelSchemeProc == acceleratePointerPredictable
&& pDev->valuator->accelScheme.accelData != NULL){