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); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php