Fixed to match the docs
authorSam Lantinga <slouken@libsdl.org>
Fri, 27 Jan 2006 06:36:33 +0000
changeset 12754aa02c3e5e13
parent 1274 4726fa79ede1
child 1276 ca3718c215af
Fixed to match the docs
src/joystick/linux/SDL_sysjoystick.c
     1.1 --- a/src/joystick/linux/SDL_sysjoystick.c	Fri Jan 27 05:36:47 2006 +0000
     1.2 +++ b/src/joystick/linux/SDL_sysjoystick.c	Fri Jan 27 06:36:33 2006 +0000
     1.3 @@ -943,7 +943,7 @@
     1.4  	}
     1.5  
     1.6  	/* Clamp and return */
     1.7 -	if ( value < -32767 ) return -32767;
     1.8 +	if ( value < -32768 ) return -32768;
     1.9  	if ( value >  32767 ) return  32767;
    1.10  
    1.11  	return value;