From bc14d6966f996c482ea97aa9b424e34091bfc8ec Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 30 Aug 2014 16:44:28 -0400 Subject: InputCommon: Clean up brace placements --- Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp') 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; } -- cgit v1.2.3