Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

It works better if you compile it.

  • Loading branch information
slouken committed Nov 29, 2011
1 parent fe87f98 commit 1423d4ea5c974899e88886222d68bed4d36cd1b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/joystick/SDL_joystick.c
@@ -403,7 +403,7 @@ SDL_JoystickQuit(void)
/* Stop the event polling */
SDL_numjoysticks = 0;

for (i = numjoysticks; i--; ) {
for (i = numsticks; i--; ) {
SDL_Joystick *stick = SDL_joysticks[i];
if (stick && (stick->ref_count >= 1)) {
stick->ref_count = 1;

0 comments on commit 1423d4e

Please sign in to comment.