author | Sam Lantinga <slouken@libsdl.org> |
Mon, 26 Nov 2012 23:58:53 -0800 | |
changeset 6706 | b9f5fb1e78b5 |
parent 6705 | 1075e5ff6de0 |
child 6707 | 70eeb7e3ec2f |
--- a/src/joystick/dummy/SDL_sysjoystick.c Mon Nov 26 23:58:23 2012 -0800 +++ b/src/joystick/dummy/SDL_sysjoystick.c Mon Nov 26 23:58:53 2012 -0800 @@ -39,7 +39,7 @@ /* Function to get the device-dependent name of a joystick */ const char * -SDL_SYS_JoystickNameForDevice(int index) +SDL_SYS_JoystickNameForIndex(int index) { SDL_SetError("Logic error: No joysticks available"); return (NULL);