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/ZTLinePoint.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/RichCreator.Utility/Structs/ZTLinePoint.cs b/src/RichCreator.Utility/Structs/ZTLinePoint.cs
index 185443c..367efb6 100644
--- a/src/RichCreator.Utility/Structs/ZTLinePoint.cs
+++ b/src/RichCreator.Utility/Structs/ZTLinePoint.cs
@@ -78,7 +78,7 @@
 
         public static bool operator ==(ZTLinePoint a, ZTLinePoint b)
         {
-            if ((a.p1 == b.p1 && a.p2 == b.p2) || (a.p1 == b.p2 && a.p2 == b.p1))
+            if ((a.p1 .Equals( b.p1) && a.p2.Equals(b.p2)) || (a.p1 .Equals( b.p2) && a.p2.Equals(b.p1)))
             {
                 return true;
             }

--
Gitblit v1.9.3