Skip to content

Commit

Permalink
ICU-22934 Fix typo in PR#3230
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankYFTang committed Oct 2, 2024
1 parent 5b45e5c commit 82f281c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions icu4c/source/common/rbbinode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void RBBINode::flattenSets(UErrorCode &status, int depth) {
RBBINode *usetNode = setRefNode->fLeftChild;
RBBINode *replTree = usetNode->fLeftChild;
fLeftChild = replTree->cloneTree(status, depth+1);
if (U_FAILURE(status)) {
if (U_SUCCESS(status)) {
fLeftChild->fParent = this;
}
delete setRefNode;
Expand All @@ -326,7 +326,7 @@ void RBBINode::flattenSets(UErrorCode &status, int depth) {
RBBINode *usetNode = setRefNode->fLeftChild;
RBBINode *replTree = usetNode->fLeftChild;
fRightChild = replTree->cloneTree(status, depth+1);
if (U_FAILURE(status)) {
if (U_SUCCESS(status)) {
fRightChild->fParent = this;
}
delete setRefNode;
Expand Down

0 comments on commit 82f281c

Please sign in to comment.