From 216217eb0ec078bf71ea8989c2efc603317f6e22 Mon Sep 17 00:00:00 2001 From: Frank Tang Date: Fri, 13 Sep 2024 17:12:02 -0700 Subject: [PATCH] ICU-22890 Include Tim's fix --- icu4c/source/i18n/messageformat2_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/i18n/messageformat2_parser.cpp b/icu4c/source/i18n/messageformat2_parser.cpp index fe5bfb484803..3d5ea6e560d2 100644 --- a/icu4c/source/i18n/messageformat2_parser.cpp +++ b/icu4c/source/i18n/messageformat2_parser.cpp @@ -1785,7 +1785,7 @@ UnicodeString Parser::parseText(UErrorCode& status) { return str; } - if (!(isTextChar(source[index] || source[index] == BACKSLASH))) { + if (!(isTextChar(source[index]) || source[index] == BACKSLASH)) { // Error -- text is expected here ERROR(parseError, status, index); return str;