Fixed bug #497
authorSam Lantinga
Sat, 29 Dec 2007 06:17:31 +0000
changeset 2285a5de28552be4
parent 2284 545fbf461c5b
child 2286 41a6675d8700
Fixed bug #497
Check all joysticks instead of stopping if one has been removed.
src/joystick/linux/SDL_sysjoystick.c
     1.1 --- a/src/joystick/linux/SDL_sysjoystick.c	Sat Dec 29 06:09:25 2007 +0000
     1.2 +++ b/src/joystick/linux/SDL_sysjoystick.c	Sat Dec 29 06:17:31 2007 +0000
     1.3 @@ -493,8 +493,7 @@
     1.4                      dev_nums[numjoysticks] = sb.st_rdev;
     1.5                      ++numjoysticks;
     1.6                  }
     1.7 -            } else
     1.8 -                break;
     1.9 +            }
    1.10          }
    1.11  
    1.12  #if SDL_INPUT_LINUXEV