diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-30 16:44:28 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-30 18:06:44 -0400 |
| commit | bc14d6966f996c482ea97aa9b424e34091bfc8ec (patch) | |
| tree | 0397974a802fafe9e9c0d000ab03c92503bd5257 /Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp | |
| parent | 55a0034dd569898dfa3d920438b22193ac25da9a (diff) | |
InputCommon: Clean up brace placements
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp index da740bbb7e..c28356260d 100644 --- a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp @@ -136,7 +136,8 @@ public: std::string name; name += c; - while (it != expr.end()) { + while (it != expr.end()) + { c = *it; if (!isalpha(c)) break; @@ -569,7 +570,8 @@ ExpressionParseStatus ParseExpression(std::string str, ControlFinder &finder, Ex qualifier.has_device = false; Device::Control *control = finder.FindControl(qualifier); - if (control) { + if (control) + { *expr_out = new Expression(new ControlExpression(qualifier, control)); return EXPRESSION_PARSE_SUCCESS; } |
