Merge pull request #22 from radarhere/add-width-to-shapes

Removed less than condition
This commit is contained in:
Hugo 2018-09-09 09:54:23 +03:00 committed by GitHub
commit 64f5fbbdcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -855,7 +855,7 @@ ellipse(Imaging im, int x0, int y0, int x1, int y1,
if (i != start) {
if (mode == PIESLICE) {
if (x != cx || y != cy) {
if (width <= 1) {
if (width == 1) {
draw->line(im, x, y, cx, cy, ink);
draw->line(im, cx, cy, sx, sy, ink);
} else {