summaryrefslogtreecommitdiff
path: root/src/gui/setup_joystick.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-12-28 02:20:36 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-01-09 07:09:29 +0100
commit80b198f17a751e34d6c946172faf241e0c28f806 (patch)
tree6b0f42e0da8b5da05feddda61f11cb2ae06eb12c /src/gui/setup_joystick.h
parent8e0bc98ddf2e2c0810136d39141ee4f3de445131 (diff)
downloadMana-80b198f17a751e34d6c946172faf241e0c28f806.tar.gz
Mana-80b198f17a751e34d6c946172faf241e0c28f806.tar.bz2
Mana-80b198f17a751e34d6c946172faf241e0c28f806.tar.xz
Mana-80b198f17a751e34d6c946172faf241e0c28f806.zip
Fix wrong logic in the enable joystick setup option.
I also renamed the badly named members to clarify it all. Part of Mana-Mantis #420. Reviewed-by: Ablu.
Diffstat (limited to 'src/gui/setup_joystick.h')
-rw-r--r--src/gui/setup_joystick.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_joystick.h b/src/gui/setup_joystick.h
index f848f45c..5f7a652e 100644
--- a/src/gui/setup_joystick.h
+++ b/src/gui/setup_joystick.h
@@ -41,8 +41,8 @@ class Setup_Joystick : public SetupTab, public gcn::ActionListener
private:
gcn::Label *mCalibrateLabel;
gcn::Button *mCalibrateButton;
- bool mOriginalJoystickEnabled;
- gcn::CheckBox *mJoystickEnabled;
+ bool mJoystickEnabled;
+ gcn::CheckBox *mJoystickCheckBox;
};
#endif