summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/setup/txt_joybinput.c4
-rw-r--r--src/setup/txt_keyinput.c4
-rw-r--r--src/setup/txt_mouseinput.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/setup/txt_joybinput.c b/src/setup/txt_joybinput.c
index 97aaca94..3e033df9 100644
--- a/src/setup/txt_joybinput.c
+++ b/src/setup/txt_joybinput.c
@@ -129,7 +129,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];
@@ -144,7 +144,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);
diff --git a/src/setup/txt_keyinput.c b/src/setup/txt_keyinput.c
index 47e782be..55889dbc 100644
--- a/src/setup/txt_keyinput.c
+++ b/src/setup/txt_keyinput.c
@@ -102,7 +102,7 @@ static void TXT_KeyInputSizeCalc(TXT_UNCAST_ARG(key_input))
}
-static void TXT_KeyInputDrawer(TXT_UNCAST_ARG(key_input), int selected)
+static void TXT_KeyInputDrawer(TXT_UNCAST_ARG(key_input))
{
TXT_CAST_ARG(txt_key_input_t, key_input);
char buf[20];
@@ -117,7 +117,7 @@ static void TXT_KeyInputDrawer(TXT_UNCAST_ARG(key_input), int selected)
TXT_GetKeyDescription(*key_input->variable, buf);
}
- TXT_SetWidgetBG(key_input, selected);
+ TXT_SetWidgetBG(key_input);
TXT_FGColor(TXT_COLOR_BRIGHT_WHITE);
TXT_DrawString(buf);
diff --git a/src/setup/txt_mouseinput.c b/src/setup/txt_mouseinput.c
index c45bdc2e..6eee78cd 100644
--- a/src/setup/txt_mouseinput.c
+++ b/src/setup/txt_mouseinput.c
@@ -94,7 +94,7 @@ static void GetMouseButtonDescription(int button, char *buf)
}
}
-static void TXT_MouseInputDrawer(TXT_UNCAST_ARG(mouse_input), int selected)
+static void TXT_MouseInputDrawer(TXT_UNCAST_ARG(mouse_input))
{
TXT_CAST_ARG(txt_mouse_input_t, mouse_input);
char buf[20];
@@ -109,7 +109,7 @@ static void TXT_MouseInputDrawer(TXT_UNCAST_ARG(mouse_input), int selected)
GetMouseButtonDescription(*mouse_input->variable, buf);
}
- TXT_SetWidgetBG(mouse_input, selected);
+ TXT_SetWidgetBG(mouse_input);
TXT_FGColor(TXT_COLOR_BRIGHT_WHITE);
TXT_DrawString(buf);