From 0bf74eedeb0e00b0d25ad46743e9e10aea3f2cf2 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sun, 18 Jan 2009 23:41:09 -0700 Subject: Some style fixes that were forgotten in the previous commit. Signed-off-by: Ira Rice --- src/gui/setup_joystick.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2