cvs: php-src(PHP_4_3) /ext/gd/libgd gd.c
| From: | Pierre-Alain Joye | Date: | Sun, 01 May 2005 05:45:56 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /ext/gd/libgd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-31690@lists.php.net to get a copy of this message | ||
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--;