From 533d49963d5f229800bbb71f1c8ba691f96d6ce4 Mon Sep 17 00:00:00 2001 From: Rozhkov Alexey Date: Sun, 31 May 2020 23:51:00 +0300 Subject: [PATCH] #1450 comment equals --- ClosedXML/Excel/RichText/XLFormattedText.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClosedXML/Excel/RichText/XLFormattedText.cs b/ClosedXML/Excel/RichText/XLFormattedText.cs index 37484780d..27256291a 100644 --- a/ClosedXML/Excel/RichText/XLFormattedText.cs +++ b/ClosedXML/Excel/RichText/XLFormattedText.cs @@ -169,7 +169,7 @@ public bool Equals(IXLFormattedText 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; }