Mercurial > sdl-ios-xcode
diff src/joystick/linux/SDL_sysjoystick.c @ 1275:4aa02c3e5e13
Fixed to match the docs
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 27 Jan 2006 06:36:33 +0000 |
parents | cb5e1d0cad31 |
children | 94643e9bad18 |
line wrap: on
line diff
--- a/src/joystick/linux/SDL_sysjoystick.c Fri Jan 27 05:36:47 2006 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Fri Jan 27 06:36:33 2006 +0000 @@ -943,7 +943,7 @@ } /* Clamp and return */ - if ( value < -32767 ) return -32767; + if ( value < -32768 ) return -32768; if ( value > 32767 ) return 32767; return value;