From 666737664cef051fa5a118bb8d14f7708b7db8af Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 6 Jul 2021 10:58:28 -0500 Subject: Improve whitespace handling in Burn conditions. Fixes #4702 --- src/burn/engine/condition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/burn/engine/condition.cpp') diff --git a/src/burn/engine/condition.cpp b/src/burn/engine/condition.cpp index b7cd7413..8fa62f16 100644 --- a/src/burn/engine/condition.cpp +++ b/src/burn/engine/condition.cpp @@ -525,7 +525,7 @@ static HRESULT NextSymbol( while (L'\0' != pContext->wzRead[0]) { ::GetStringTypeW(CT_CTYPE1, pContext->wzRead, 1, &charType); - if (0 == (C1_BLANK & charType)) + if (0 == ((C1_BLANK | C1_SPACE) & charType)) { break; // no blank, done } -- cgit v1.2.3-55-g6feb