This commit is contained in:
cristy
2014-01-14 16:37:23 +00:00
parent aa4db030d5
commit 15cace97d6
+2 -1
View File
@@ -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.