diff options
-rw-r--r-- | generic/Geo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/Geo.c b/generic/Geo.c index 8e2105e..c0a3e80 100644 --- a/generic/Geo.c +++ b/generic/Geo.c @@ -2220,7 +2220,7 @@ GetCirclePoints(int type, ZnPoint center_p = { 0.0, 0.0 }; ZnPoint start_p, wp; ZnReal iangle; - + switch (quality) { case ZN_CIRCLE_COARSE: num_p = sizeof(genarc_coarse)/sizeof(ZnPoint); @@ -2283,7 +2283,7 @@ GetCirclePoints(int type, i++; } while (1) { - if (start_angle + iangle < end_angle) { + if (start_angle + iangle <= end_angle) { if (i == num_p-1) { i = 0; } |