diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-07-12 13:26:09 -0400 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-07-12 13:26:09 -0400 |
| commit | b64e882ba5f34f63bf588ed2e14ff28247675982 (patch) | |
| tree | c2aee06829988a252d824b42f3686041c045bacb /Source/Core/InputCommon/Src/ControllerInterface | |
| parent | c52a583090f5fe8dd36a57b2d7628e18ef5f2721 (diff) | |
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.
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface')
| -rw-r--r-- | Source/Core/InputCommon/Src/ControllerInterface/ExpressionParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
