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){