Fixed bug #497 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Sat, 29 Dec 2007 06:16:35 +0000
branchSDL-1.2
changeset 4114 fc27f3e8eee4
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
--- 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