summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-18 23:41:09 -0700
committerIra Rice <irarice@gmail.com>2009-01-18 23:41:09 -0700
commit0bf74eedeb0e00b0d25ad46743e9e10aea3f2cf2 (patch)
tree94044c264977db2ba37faa169318e09f29164799
parente3f05299f81cd2e567531df6729de0f34970a9e9 (diff)
downloadmana-client-0bf74eedeb0e00b0d25ad46743e9e10aea3f2cf2.tar.gz
mana-client-0bf74eedeb0e00b0d25ad46743e9e10aea3f2cf2.tar.bz2
mana-client-0bf74eedeb0e00b0d25ad46743e9e10aea3f2cf2.tar.xz
mana-client-0bf74eedeb0e00b0d25ad46743e9e10aea3f2cf2.zip
Some style fixes that were forgotten in the previous commit.
Signed-off-by: Ira Rice <irarice@gmail.com>
-rw-r--r--src/gui/setup_joystick.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/setup_joystick.cpp b/src/gui/setup_joystick.cpp
index 2411eebc..187b3e2b 100644
--- a/src/gui/setup_joystick.cpp
+++ b/src/gui/setup_joystick.cpp
@@ -61,7 +61,8 @@ Setup_Joystick::Setup_Joystick():
void Setup_Joystick::action(const gcn::ActionEvent &event)
{
- if (!joystick) {
+ if (!joystick)
+ {
return;
}
@@ -71,12 +72,15 @@ void Setup_Joystick::action(const gcn::ActionEvent &event)
}
else
{
- if (joystick->isCalibrating()) {
+ if (joystick->isCalibrating())
+ {
mCalibrateButton->setCaption(_("Calibrate"));
mCalibrateLabel->setCaption
(_("Press the button to start calibration"));
joystick->finishCalibration();
- } else {
+ }
+ else
+ {
mCalibrateButton->setCaption(_("Stop"));
mCalibrateLabel->setCaption(_("Rotate the stick"));
joystick->startCalibration();