Skip to content

Commit

Permalink
ClosedXML#1450 comment equals
Browse files Browse the repository at this point in the history
  • Loading branch information
b0bi79 committed May 31, 2020
1 parent 438d1e0 commit 533d499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClosedXML/Excel/RichText/XLFormattedText.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public bool Equals(IXLFormattedText<T> other)

for (Int32 i = 0; i < count; i++)
{
if (_richTexts.ElementAt(i) != other.ElementAt(i))
if (_richTexts.ElementAt(i).Equals(other.ElementAt(i)))
return false;
}

Expand Down

0 comments on commit 533d499

Please sign in to comment.