From e26abb417ee33233004dbe9bb2c3937c5ddae8c5 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Wed, 27 Aug 2014 01:04:58 -0300 Subject: [PATCH] Fixed indentation. --- src/modules/joystick/sdl/JoystickModule.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/joystick/sdl/JoystickModule.cpp b/src/modules/joystick/sdl/JoystickModule.cpp index e9b96255a..a6af78703 100644 --- a/src/modules/joystick/sdl/JoystickModule.cpp +++ b/src/modules/joystick/sdl/JoystickModule.cpp @@ -405,13 +405,13 @@ void JoystickModule::removeBindFromMapString(std::string &mapstr, const std::str if (joybindpos == std::string::npos) return; - // Find the start of the entire bind by looking for the separator between - // the end of one section of the map string and the start of this section. + // Find the start of the entire bind by looking for the separator between + // the end of one section of the map string and the start of this section. size_t bindstart = mapstr.rfind(',', joybindpos); if (bindstart != std::string::npos && bindstart < mapstr.length() - 1) { - // The start of the bind is directly after the separator. - bindstart++; + // The start of the bind is directly after the separator. + bindstart++; size_t bindend = mapstr.find(',', bindstart + 1); if (bindend == std::string::npos)