pajoye Sun May 1 01:45:56 2005 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/gd/libgd gd.c
Log:
- #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.24.2.35&r2=1.24.2.36&ty=u
Index: php-src/ext/gd/libgd/gd.c
diff -u php-src/ext/gd/libgd/gd.c:1.24.2.35 php-src/ext/gd/libgd/gd.c:1.24.2.36
--- php-src/ext/gd/libgd/gd.c:1.24.2.35 Sat Nov 20 08:34:52 2004
+++ php-src/ext/gd/libgd/gd.c Sun May 1 01:45:55 2005
@@ -1737,8 +1737,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