diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | generic/Arc.c | 6 | ||||
-rw-r--r-- | generic/Curve.c | 4 | ||||
-rw-r--r-- | generic/Track.c | 2 | ||||
-rw-r--r-- | generic/Triangles.c | 4 |
6 files changed, 10 insertions, 10 deletions
@@ -646,7 +646,7 @@ fi #----------------------------------------------------------------------- MAJOR_VERSION=3 MINOR_VERSION=2 -PATCHLEVEL=96 +PATCHLEVEL=97 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCHLEVEL} diff --git a/configure.in b/configure.in index 37ddd18..77e0100 100644 --- a/configure.in +++ b/configure.in @@ -46,7 +46,7 @@ TEA_INIT #----------------------------------------------------------------------- MAJOR_VERSION=3 MINOR_VERSION=2 -PATCHLEVEL=96 +PATCHLEVEL=97 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${PATCHLEVEL} diff --git a/generic/Arc.c b/generic/Arc.c index 7942269..ff0b8e6 100644 --- a/generic/Arc.c +++ b/generic/Arc.c @@ -1450,8 +1450,8 @@ Pick(ZnItem item, * angular extent). */ if (ISSET(arc->flags, PIE_SLICE_BIT)) { - dist = ZnLineToPointDist(¢er, &arc->center1, p); - new_dist = ZnLineToPointDist(¢er, &arc->center2, p); + dist = ZnLineToPointDist(¢er, &arc->center1, p, NULL); + new_dist = ZnLineToPointDist(¢er, &arc->center2, p, NULL); if (new_dist < dist) { dist = new_dist; } @@ -1492,7 +1492,7 @@ Pick(ZnItem item, /* * This is a chord closed oval. */ - dist = ZnLineToPointDist(&arc->center1, &arc->center2, p); + dist = ZnLineToPointDist(&arc->center1, &arc->center2, p, NULL); if (arc->line_width > 1) { if (closed) { dist -= arc->line_width/2; diff --git a/generic/Curve.c b/generic/Curve.c index 39f9aee..3ca7062 100644 --- a/generic/Curve.c +++ b/generic/Curve.c @@ -2220,9 +2220,9 @@ PickVertex(ZnItem item, */ if (i == (unsigned int) *contour) { j = (*vertex+1) % num_points; - new_dist = ZnLineToPointDist(&points[*vertex], &points[j], &po); + new_dist = ZnLineToPointDist(&points[*vertex], &points[j], &po, NULL); k = ((unsigned int)(*vertex-1)) % num_points; - dist2 = ZnLineToPointDist(&points[*vertex], &points[k], &po); + dist2 = ZnLineToPointDist(&points[*vertex], &points[k], &po, NULL); if (dist2 < new_dist) { *o_vertex = k; } diff --git a/generic/Track.c b/generic/Track.c index d43e426..6a16e7f 100644 --- a/generic/Track.c +++ b/generic/Track.c @@ -1676,7 +1676,7 @@ Pick(ZnItem item, points = (ZnPoint *) ZnListArray(track->leader_points); num_points = ZnListSize(track->leader_points)-1; for (i = 0; i < num_points; i++) { - new_dist = ZnLineToPointDist(&points[i], &points[i+1], p); + new_dist = ZnLineToPointDist(&points[i], &points[i+1], p, NULL); new_dist -= width_2; if (new_dist < dist) { best_part = LEADER; diff --git a/generic/Triangles.c b/generic/Triangles.c index c1c7165..f584d5a 100644 --- a/generic/Triangles.c +++ b/generic/Triangles.c @@ -822,9 +822,9 @@ PickVertex(ZnItem item, * Update the opposite vertex. */ i = (*vertex+1) % num_points; - new_dist = ZnLineToPointDist(&points[*vertex], &points[i], p); + new_dist = ZnLineToPointDist(&points[*vertex], &points[i], p, NULL); k = ((unsigned)(*vertex-1)) % num_points; - dist2 = ZnLineToPointDist(&points[*vertex], &points[k], p); + dist2 = ZnLineToPointDist(&points[*vertex], &points[k], p, NULL); if (dist2 < new_dist) { *o_vertex = k; } |