src/events/SDL_mouse.c
branchSDL-1.2
changeset 11056 1138bf8c009a
parent 6137 4720145f848b
     1.1 --- a/src/events/SDL_mouse.c	Mon Apr 03 13:33:29 2017 -0700
     1.2 +++ b/src/events/SDL_mouse.c	Thu Jun 01 00:39:07 2017 -0400
     1.3 @@ -62,7 +62,7 @@
     1.4  void SDL_ResetMouse(void)
     1.5  {
     1.6  	Uint8 i;
     1.7 -	for ( i = 0; i < sizeof(SDL_ButtonState)*8; ++i ) {
     1.8 +	for ( i = 1; i < sizeof(SDL_ButtonState)*8; ++i ) {
     1.9  		if ( SDL_ButtonState & SDL_BUTTON(i) ) {
    1.10  			SDL_PrivateMouseButton(SDL_RELEASED, i, 0, 0);
    1.11  		}