From 7f818776b7a19bd6100596d327ecaa69be317bc6 Mon Sep 17 00:00:00 2001 From: Simon Thum Date: Wed, 19 Nov 2008 15:05:50 +1000 Subject: [PATCH] dix: fix typos in comments, one formatting fix. Signed-off-by: Peter Hutterer --- dix/devices.c | 2 +- dix/ptrveloc.c | 5 +++-- 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 /***************************************************************************** - * 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){