mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
This commit is contained in:
+2
-1
@@ -549,7 +549,8 @@ static PolygonInfo *ConvertPathToPolygon(
|
||||
next_direction=((path_info[i].point.y > point.y) ||
|
||||
((path_info[i].point.y == point.y) &&
|
||||
(path_info[i].point.x > point.x))) ? 1 : -1;
|
||||
if ((direction != 0) && (direction != next_direction))
|
||||
if ((points != (PointInfo *) NULL) && (direction != 0) &&
|
||||
(direction != next_direction))
|
||||
{
|
||||
/*
|
||||
New edge.
|
||||
|
||||
Reference in New Issue
Block a user