changeset 245:ab781a7dd82f

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 26 Nov 2001 22:22:20 +0000
parents dc660aee7d7d
children 7c09c9e3b0c7
files src/joystick/linux/SDL_sysjoystick.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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"
 	};