# HG changeset patch # User Sam Lantinga # Date 1006813340 0 # Node ID ab781a7dd82f890957cec49ec144dd4c65d6bffa # Parent dc660aee7d7d3a022c892398064e033d08b037c4 *** empty log message *** diff -r dc660aee7d7d -r ab781a7dd82f 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" };