From f25f89101a98ad815c0ae2d25e1a8dc35d53a5dd Mon Sep 17 00:00:00 2001
From: asmrobot <asmrobot@hotmail.com>
Date: Tue, 29 Oct 2019 13:55:37 +0000
Subject: [PATCH] format state machine
---
src/RichCreator.Utility/Structs/ZTRectangle.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/RichCreator.Utility/Structs/ZTRectangle.cs b/src/RichCreator.Utility/Structs/ZTRectangle.cs
index eb41c38..74fee3c 100644
--- a/src/RichCreator.Utility/Structs/ZTRectangle.cs
+++ b/src/RichCreator.Utility/Structs/ZTRectangle.cs
@@ -60,7 +60,7 @@
public static bool operator ==(ZTRectangle a, ZTRectangle b)
{
- if (a.Start == b.Start && a.End == b.End)
+ if (a.Start .Equals( b.Start) && a.End.Equals( b.End))
{
return true;
}
@@ -69,7 +69,7 @@
public static bool operator !=(ZTRectangle a, ZTRectangle b)
{
- if (a.Start != b.Start || a.End != b.End)
+ if (!a.Start.Equals( b.Start) || !a.End.Equals(b.End))
{
return true;
}
@@ -85,7 +85,7 @@
#region IEquatable
public bool Equals(ZTRectangle other)
{
- if (this.Start == other.Start && this.End == other.End)
+ if (this.Start.Equals(other.Start) && this.End.Equals(other.End))
{
return true;
}
--
Gitblit v1.9.3