*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Mon, 26 Nov 2001 22:22:20 +0000
changeset 245 ab781a7dd82f
parent 244 dc660aee7d7d
child 246 7c09c9e3b0c7
*** empty log message ***
src/joystick/linux/SDL_sysjoystick.c
--- a/src/joystick/linux/SDL_sysjoystick.c	Fri Nov 23 17:11:05 2001 +0000
+++ b/src/joystick/linux/SDL_sysjoystick.c	Mon Nov 26 22:22:20 2001 +0000
@@ -140,10 +140,10 @@
 int SDL_SYS_JoystickInit(void)
 {
 	/* The base path of the joystick devices */
-	const char *joydev_pattern[2] = {
+	const char *joydev_pattern[] = {
 		"/dev/js%d",
 #ifdef USE_INPUT_EVENTS
-		"/dev/input/event%d"
+		"/dev/input/event%d",
 #endif
 		"/dev/input/js%d"
 	};