Fixed bug #497 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 29 Dec 2007 06:16:35 +0000
branchSDL-1.2
changeset 4114fc27f3e8eee4
parent 4113 82dab719502e
child 4115 63b57f6b6523
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:08:17 2007 +0000
     1.2 +++ b/src/joystick/linux/SDL_sysjoystick.c	Sat Dec 29 06:16:35 2007 +0000
     1.3 @@ -473,8 +473,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