diff src/joystick/linux/SDL_sysjoystick.c @ 245:ab781a7dd82f

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Nov 2001 22:22:20 +0000
parents 50620ec9c86a
children e8157fcb3114
line wrap: on
line diff
--- 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"
 	};