cvs: pecl /gdchart/gdchart-src gdchart.c

From: Date: Fri, 22 Aug 2003 20:42:46 +0000
Subject: cvs: pecl /gdchart/gdchart-src gdchart.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-422@lists.php.net to get a copy of this message
rasmus Fri Aug 22 16:42:46 2003 EDT Modified files: /pecl/gdchart/gdchart-src gdchart.c Log: There is a bug lurking in there somewhere, but this fixes the symptom. Index: pecl/gdchart/gdchart-src/gdchart.c diff -u pecl/gdchart/gdchart-src/gdchart.c:1.1 pecl/gdchart/gdchart-src/gdchart.c:1.2 --- pecl/gdchart/gdchart-src/gdchart.c:1.1 Fri Aug 22 14:02:25 2003 +++ pecl/gdchart/gdchart-src/gdchart.c Fri Aug 22 16:42:46 2003 @@ -730,8 +730,8 @@ /* find affects on graphwidth/xorig of wildly overhanging angled labels */ if( GDC_xaxis && xlbl ) { - int biggest = -INT_MAX, - widest = -INT_MAX; + int biggest = 0, + widest = 0; #ifdef HAVE_LIBFREETYPE if( gdc_xaxis_rad!=M_PI/2.0 && gdc_xaxis_font && gdc_xaxis_ptsize ) {

« previous php.pecl.cvs (#422) next »