cvs: php4 /ext/gd/libgd gd.c

From: Date: Sun, 17 Nov 2002 14:25:50 +0000
Subject: cvs: php4 /ext/gd/libgd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16352@lists.php.net to get a copy of this message
derick Sun Nov 17 09:25:50 2002 EDT Modified files: /php4/ext/gd/libgd gd.c Log: - Fix compile problems for mips pro Index: php4/ext/gd/libgd/gd.c diff -u php4/ext/gd/libgd/gd.c:1.26 php4/ext/gd/libgd/gd.c:1.27 --- php4/ext/gd/libgd/gd.c:1.26 Thu Nov 14 10:08:39 2002 +++ php4/ext/gd/libgd/gd.c Sun Nov 17 09:25:50 2002 @@ -3597,8 +3597,10 @@ int gdImageSmooth(gdImagePtr im, float weight) { float filter[3][3] = {{1.0,1.0,1.0}, - {1.0,weight ,1.0}, + {1.0,0.0,1.0}, {1.0,1.0,1.0}}; + + filter[1][1] = weight; return gdImageConvolution(im, filter, weight+8, 0); }

« previous php.cvs (#16352) next »