Fixed to match the docs

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401278
This commit is contained in:
Sam Lantinga 2006-01-27 06:36:33 +00:00
parent 8cf42f6c8b
commit 33f5989f5a

View file

@ -943,7 +943,7 @@ static __inline__ int EV_AxisCorrect(SDL_Joystick *joystick, int which, int valu
}
/* Clamp and return */
if ( value < -32767 ) return -32767;
if ( value < -32768 ) return -32768;
if ( value > 32767 ) return 32767;
return value;