dix: fix typos in comments, one formatting fix.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
Simon Thum 2008-11-19 15:05:50 +10:00 committed by Peter Hutterer
parent 037ec5a3c4
commit 7f818776b7
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

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