mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-06 14:13:15 +03:00
Removed less than condition
This commit is contained in:
parent
fbe5bdb6b6
commit
558e70d8cd
|
@ -855,7 +855,7 @@ ellipse(Imaging im, int x0, int y0, int x1, int y1,
|
||||||
if (i != start) {
|
if (i != start) {
|
||||||
if (mode == PIESLICE) {
|
if (mode == PIESLICE) {
|
||||||
if (x != cx || y != cy) {
|
if (x != cx || y != cy) {
|
||||||
if (width <= 1) {
|
if (width == 1) {
|
||||||
draw->line(im, x, y, cx, cy, ink);
|
draw->line(im, x, y, cx, cy, ink);
|
||||||
draw->line(im, cx, cy, sx, sy, ink);
|
draw->line(im, cx, cy, sx, sy, ink);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user