diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2022-07-19 15:13:26 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2022-07-25 18:40:12 -0700 |
| commit | f92541fbd9da5091636aac09fdabd1a5fd0191ce (patch) | |
| tree | 51f4add6038f41c213f392559501a6121ee28ec3 /Source/Core/InputCommon/ControlReference | |
| parent | e4ff49769c687e892219dab628ad5c7850efa49d (diff) | |
StripSpaces: only strip spaces
StripWhitespace maintains old behavior
Diffstat (limited to 'Source/Core/InputCommon/ControlReference')
| -rw-r--r-- | Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp index 59c22612f4..1f78071856 100644 --- a/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp +++ b/Source/Core/InputCommon/ControlReference/ExpressionParser.cpp @@ -980,7 +980,7 @@ static std::unique_ptr<Expression> ParseBarewordExpression(const std::string& st ParseResult ParseExpression(const std::string& str) { - if (StripSpaces(str).empty()) + if (StripWhitespace(str).empty()) return ParseResult::MakeEmptyResult(); auto bareword_expr = ParseBarewordExpression(str); |
