summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2014-05-17 11:23:50 -0400
committerSimon Howard2014-05-17 11:23:50 -0400
commitb83132a4962787aabf2e07ae90d37d6d87b001b3 (patch)
treeb25fd6c4a053ba08479ca240a83a4f08f167a21c /src
parente0331a01741905ac665adce1da0fb04e86db4b05 (diff)
downloadchocolate-doom-b83132a4962787aabf2e07ae90d37d6d87b001b3.tar.gz
chocolate-doom-b83132a4962787aabf2e07ae90d37d6d87b001b3.tar.bz2
chocolate-doom-b83132a4962787aabf2e07ae90d37d6d87b001b3.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/setup/txt_joyaxis.c4
1 files 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))
{