# HG changeset patch # User Sam Lantinga # Date 1198908995 0 # Node ID fc27f3e8eee42c7687c81cafdc1cd9957dd279ea # Parent 82dab719502e52213eef3016907ff6aa8e509abc Fixed bug #497 Check all joysticks instead of stopping if one has been removed. diff -r 82dab719502e -r fc27f3e8eee4 src/joystick/linux/SDL_sysjoystick.c --- a/src/joystick/linux/SDL_sysjoystick.c Sat Dec 29 06:08:17 2007 +0000 +++ b/src/joystick/linux/SDL_sysjoystick.c Sat Dec 29 06:16:35 2007 +0000 @@ -473,8 +473,7 @@ dev_nums[numjoysticks] = sb.st_rdev; ++numjoysticks; } - } else - break; + } } #if SDL_INPUT_LINUXEV