From aeaf8a2dd3298881db603d4763323908259ac7cb Mon Sep 17 00:00:00 2001 From: Cristy Date: Mon, 30 Apr 2018 19:31:49 -0400 Subject: [PATCH] ... --- MagickCore/draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/draw.c b/MagickCore/draw.c index 8706a5bc4..dc98df345 100644 --- a/MagickCore/draw.c +++ b/MagickCore/draw.c @@ -778,8 +778,8 @@ static PathInfo *ConvertPrimitiveToPath(const PrimitiveInfo *primitive_info) Eliminate duplicate points. */ if ((code == MoveToCode) || (coordinates <= 0) || - (fabs(q.x-primitive_info[i].point.x) > DrawEpsilon) || - (fabs(q.y-primitive_info[i].point.y) > DrawEpsilon)) + (fabs(q.x-primitive_info[i].point.x) >= DrawEpsilon) || + (fabs(q.y-primitive_info[i].point.y) >= DrawEpsilon)) { path_info[n].code=code; path_info[n].point=primitive_info[i].point; -- 2.40.0