From f92541fbd9da5091636aac09fdabd1a5fd0191ce Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Tue, 19 Jul 2022 15:13:26 -0700 Subject: StripSpaces: only strip spaces StripWhitespace maintains old behavior --- Source/Core/InputCommon/ControlReference/ExpressionParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/ControlReference') 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 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); -- cgit v1.2.3