From 90a40eae2bb152e70f16e25a37a12616397675ad Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 26 Nov 2001 22:22:20 +0000 Subject: [PATCH] *** empty log message *** --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40246 --- 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" };