From b83132a4962787aabf2e07ae90d37d6d87b001b3 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 17 May 2014 11:23:50 -0400 Subject: setup: Tweak joystick axis widget. Reduce the width slightly (the previous size was excessively wide) and tweak "none" string to match the joystick button widget. --- src/setup/txt_joyaxis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/setup/txt_joyaxis.c b/src/setup/txt_joyaxis.c index 927c0473..4747a4ff 100644 --- a/src/setup/txt_joyaxis.c +++ b/src/setup/txt_joyaxis.c @@ -29,7 +29,7 @@ #include "txt_io.h" #include "txt_joyaxis.h" -#define JOYSTICK_AXIS_WIDTH 24 +#define JOYSTICK_AXIS_WIDTH 20 static char *CalibrationLabel(txt_joystick_axis_t *joystick_axis) { @@ -427,7 +427,7 @@ static void TXT_JoystickAxisDrawer(TXT_UNCAST_ARG(joystick_axis)) if (*joystick_axis->axis < 0) { - M_StringCopy(buf, "(None)", sizeof(buf)); + M_StringCopy(buf, "(none)", sizeof(buf)); } else if (IS_BUTTON_AXIS(*joystick_axis->axis)) { -- cgit v1.2.3