src/joystick/linux/SDL_sysjoystick.c
changeset 1752 97f20f2a1d85
parent 1635 92947e3a18db
child 1821 2f381b48b05c
--- a/src/joystick/linux/SDL_sysjoystick.c	Sun Apr 30 21:01:25 2006 +0000
+++ b/src/joystick/linux/SDL_sysjoystick.c	Mon May 01 06:40:00 2006 +0000
@@ -980,7 +980,8 @@
 #ifndef NO_LOGICAL_JOYSTICKS
 	if (SDL_joylist[joystick->index].fname == NULL) {
 		SDL_joylist_head(i, joystick->index);
-		return JS_HandleEvents(SDL_joylist[i].joy);
+		JS_HandleEvents(SDL_joylist[i].joy);
+		return;
 	}
 #endif