pajoye Sun May 1 01:52:56 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/gd/libgd gd.c
Log:
- MFB: #32891, init old y positions to non possible values. -1 being used
if the center start a (x,0)
http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gd.c?r1=1.81.2.2&r2=1.81.2.3&ty=u
Index: php-src/ext/gd/libgd/gd.c
diff -u php-src/ext/gd/libgd/gd.c:1.81.2.2 php-src/ext/gd/libgd/gd.c:1.81.2.3
--- php-src/ext/gd/libgd/gd.c:1.81.2.2 Fri Apr 15 20:16:14 2005
+++ php-src/ext/gd/libgd/gd.c Sun May 1 01:52:54 2005
@@ -1735,8 +1735,8 @@
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--;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php