From 89e84163c2369c0839ee901015d992abacb1191c Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 25 Jun 2013 01:44:28 -0400 Subject: [PATCH] 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 --- .../InputCommon/Src/ControllerInterface/ExpressionParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }