From 8c1106ba74f651e542499a6d526bb3dc0106ed4c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 26 Nov 2001 22:22:20 +0000 Subject: [PATCH] *** empty log message *** --- src/joystick/linux/SDL_sysjoystick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c index 7d4ba9ce5..0958be9fb 100644 --- a/src/joystick/linux/SDL_sysjoystick.c +++ b/src/joystick/linux/SDL_sysjoystick.c @@ -140,10 +140,10 @@ static int EV_IsJoystick(int fd) 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" };