diff options
author | Pierre Joye <pajoye@php.net> | 2005-05-01 06:01:56 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2005-05-01 06:01:56 +0000 |
commit | 90ee88e090fcd2a51ec04933ef26845a91634930 (patch) | |
tree | 82a00b586a21e886e0f6517f2ae506ffa7b3df8e /ext/gd/libgd | |
parent | b06fb51f89ac7045d5671a17b1b580d13b2ce296 (diff) | |
download | php-git-90ee88e090fcd2a51ec04933ef26845a91634930.tar.gz |
- MFB: #32891, init old y positions to non possible values. -1 being used
if the center start a (x,0)
Diffstat (limited to 'ext/gd/libgd')
-rw-r--r-- | ext/gd/libgd/gd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 18a5934240..b799abb042 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -1735,8 +1735,8 @@ void gdImageFilledEllipse (gdImagePtr im, int mx, int my, int w, int h, int c) rx = r << 1; ry = 0; x = a; - old_y2=-1; - old_y1=-1; + old_y2=-2; + old_y1=-2; while (x > 0){ if (r > 0) { my1++;my2--; |