summaryrefslogtreecommitdiff
path: root/setup/txt_joybinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup/txt_joybinput.c')
-rw-r--r--setup/txt_joybinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/txt_joybinput.c b/setup/txt_joybinput.c
index 9ad26a45..fb4015b6 100644
--- a/setup/txt_joybinput.c
+++ b/setup/txt_joybinput.c
@@ -147,7 +147,7 @@ static void GetJoystickButtonDescription(int button, char *buf)
sprintf(buf, "BUTTON #%i", button + 1);
}
-static void TXT_JoystickInputDrawer(TXT_UNCAST_ARG(joystick_input), int selected)
+static void TXT_JoystickInputDrawer(TXT_UNCAST_ARG(joystick_input))
{
TXT_CAST_ARG(txt_joystick_input_t, joystick_input);
char buf[20];
@@ -162,7 +162,7 @@ static void TXT_JoystickInputDrawer(TXT_UNCAST_ARG(joystick_input), int selected
GetJoystickButtonDescription(*joystick_input->variable, buf);
}
- TXT_SetWidgetBG(joystick_input, selected);
+ TXT_SetWidgetBG(joystick_input);
TXT_FGColor(TXT_COLOR_BRIGHT_WHITE);
TXT_DrawString(buf);