From b64e882ba5f34f63bf588ed2e14ff28247675982 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 12 Jul 2013 13:26:09 -0400 Subject: [PATCH] ExpressionParser: Parse fully qualified control names correctly Without clearing out the "accumulator" for the backtick parsing, our control name was full of junk (the previous device name) causing us to not correctly find the control. Ensure that always we clear the "accumulator" string during backtick parsing. --- .../InputCommon/Src/ControllerInterface/ExpressionParser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp index 0677a04abb..d91fbc587c 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp +++ b/Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp @@ -95,6 +95,7 @@ public: bool FetchBacktickString(std::string &value, char otherDelim = 0) { + value = ""; while (it != expr.end()) { char c = *it;