diff options
author | Simon Howard | 2007-06-20 00:37:40 +0000 |
---|---|---|
committer | Simon Howard | 2007-06-20 00:37:40 +0000 |
commit | 856eebe52624ba5d780436feb349ea5ff2ee46b4 (patch) | |
tree | aea6417f30dc26af06650457e1032bbaccdf5d94 /setup/txt_joybinput.c | |
parent | d004976261747a47389b14eaf0d695a14fa0f497 (diff) | |
download | chocolate-doom-856eebe52624ba5d780436feb349ea5ff2ee46b4.tar.gz chocolate-doom-856eebe52624ba5d780436feb349ea5ff2ee46b4.tar.bz2 chocolate-doom-856eebe52624ba5d780436feb349ea5ff2ee46b4.zip |
Add new configuration options for the mouse and joystick for controls
that are available through the keyboard. Justification: this is already
possible through advanced mouse drivers and programs like js2x, so there
might as well be a proper interface for it.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 918
Diffstat (limited to 'setup/txt_joybinput.c')
-rw-r--r-- | setup/txt_joybinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/txt_joybinput.c b/setup/txt_joybinput.c index 0f05eaf4..7a94a996 100644 --- a/setup/txt_joybinput.c +++ b/setup/txt_joybinput.c @@ -143,9 +143,9 @@ static void TXT_JoystickInputDrawer(TXT_UNCAST_ARG(joystick_input), int selected char buf[20]; int i; - if (*joystick_input->variable == -1) + if (*joystick_input->variable < 0) { - strcpy(buf, ""); + strcpy(buf, "(none)"); } else { |