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/Utilitys/GeometryHelper.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/RichCreator.Utility/Utilitys/GeometryHelper.cs b/src/RichCreator.Utility/Utilitys/GeometryHelper.cs
index 934db0c..1821bb0 100644
--- a/src/RichCreator.Utility/Utilitys/GeometryHelper.cs
+++ b/src/RichCreator.Utility/Utilitys/GeometryHelper.cs
@@ -145,7 +145,7 @@
ZTPoint p1;
int n = polygon.Length;
p1 = polygon[0];
- if (point == p1)
+ if (point .Equals( p1))
{
return Intersection.Tangent;
}
@@ -153,7 +153,7 @@
for (i = 1; i <= n; i++)
{
ZTPoint p2 = polygon[i % n];
- if (point == p2)
+ if (point .Equals( p2))
{
return Intersection.Tangent;
}
--
Gitblit v1.9.3