InputCommon: Clean up brace placements

This commit is contained in:
Lioncash 2014-08-30 16:44:28 -04:00
parent 55a0034dd5
commit bc14d6966f
4 changed files with 25 additions and 12 deletions

View file

@ -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;
}