foxygit / doom Log in
commit b83132a4962787aabf2e07ae90d37d6d87b001b3
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat May 17 11:23:50 2014 -0400
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat May 17 11:23:50 2014 -0400

    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))
     {