summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-06-25 01:44:28 -0400
committerJasper St. Pierre <jstpierre@mecheye.net>2013-06-25 01:44:28 -0400
commit89e84163c2369c0839ee901015d992abacb1191c (patch)
tree5c0ff820e0f7a286eb2cf4e7061b962de63a1693 /Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
parentc5c86d17dc5f8fcb4421a9e745b443ea33f143c4 (diff)
ExpressionParser: Fix delimiter scanning
We need to make sure we eat the delimiter, otherwise we'll notice the colon / backtick and think it's either a new control or part of the control name
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp')
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
index 91c275e71b..a259f303c8 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
+++ b/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp
@@ -98,12 +98,12 @@ public:
while (it != expr.end())
{
char c = *it;
+ it++;
if (c == '`')
return false;
if (c > 0 && c == otherDelim)
return true;
value += c;
- it++;
}
return false;
}