Skip to content
Permalink
Browse files

Fixed compiler warning

  • Loading branch information
slouken committed Oct 7, 2002
1 parent 5f27659 commit 45c55a956ed034d722923c97afb43596605aecda
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/events/SDL_mouse.c
@@ -62,7 +62,7 @@ int SDL_MouseInit(void)
/* We lost the mouse, so post button up messages for all pressed buttons */
void SDL_ResetMouse(void)
{
int i;
Uint8 i;
for ( i = 0; i < sizeof(SDL_ButtonState)*8; ++i ) {
if ( SDL_ButtonState & SDL_BUTTON(i) ) {
SDL_PrivateMouseButton(SDL_RELEASED, i, 0, 0);

0 comments on commit 45c55a9

Please sign in to comment.