Skip to content

Commit

Permalink
ICU-22890 Include Tim's fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankYFTang authored and catamorphism committed Sep 14, 2024
1 parent 4e48cbf commit 2a9ea63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icu4c/source/i18n/messageformat2_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2a9ea63

Please sign in to comment.