|
cvs: pecl /apc apc.php: msg#00247php.pecl.cvs
rasmus Thu Jul 28 17:25:33 2005 EDT Modified files: /pecl/apc apc.php Log: imagefilledrectangle seems to be sensitive about filling top to bottom so make sure the coordinates are in the right order http://cvs.php.net/diff.php/pecl/apc/apc.php?r1=3.34&r2=3.35&ty=u Index: pecl/apc/apc.php diff -u pecl/apc/apc.php:3.34 pecl/apc/apc.php:3.35 --- pecl/apc/apc.php:3.34 Thu Jul 28 13:19:20 2005 +++ pecl/apc/apc.php Thu Jul 28 17:25:32 2005 @@ -22,7 +22,7 @@ */ -$VERSION='$Id: apc.php,v 3.34 2005/07/28 17:19:20 iliaa Exp $'; +$VERSION='$Id: apc.php,v 3.35 2005/07/28 21:25:32 rasmus Exp $'; @@ -245,7 +245,8 @@ $y1=$y+$h-1; imagerectangle($im, $x, $y1, $x1+1, $y+1, $col_black); - imagefilledrectangle($im, $x, $y1, $x1, $y, $color2); + if($y1>$y) imagefilledrectangle($im, $x, $y, $x1, $y1, $color2); + else imagefilledrectangle($im, $x, $y1, $x1, $y, $color2); imagerectangle($im, $x, $y1, $x1, $y, $color1); if ($text) { if ($placeindex>0) { |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: peclweb /public_html xmlrpc.php: 00247, Greg Beaver |
|---|---|
| Next by Date: | cvs: peclweb /include pear-database.php: 00247, Greg Beaver |
| Previous by Thread: | cvs: pecl /apc apc.phpi: 00247, Ilia Alshanetsky |
| Next by Thread: | cvs: pecl /apc apc.php: 00247, Rasmus Lerdorf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |