cvs: php-src(PHP_5_2) /ext/gd/libgd gd.c

From: Date: Sun, 09 Sep 2007 13:05:52 +0000
Subject: cvs: php-src(PHP_5_2) /ext/gd/libgd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-46102@lists.php.net to get a copy of this message
pajoye Sun Sep 9 13:05:52 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/gd/libgd gd.c Log: - re-add fix for libgd #106, imagerectangle draws 1x1 rectangles as 1x3 rectangles http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd.c?r1=1.90.2.1.2.19&r2=1.90.2.1.2.20&diff_format=u Index: php-src/ext/gd/libgd/gd.c diff -u php-src/ext/gd/libgd/gd.c:1.90.2.1.2.19 php-src/ext/gd/libgd/gd.c:1.90.2.1.2.20 --- php-src/ext/gd/libgd/gd.c:1.90.2.1.2.19 Mon Aug 27 08:27:45 2007 +++ php-src/ext/gd/libgd/gd.c Sun Sep 9 13:05:51 2007 @@ -2124,6 +2124,11 @@ int half1 = 1; int t; + if (x1 == x2 && y1 == y2 && thick == 1) { + gdImageSetPixel(im, x1, y1, color); + return; + } + if (y2 < y1) { t=y1; y1 = y2;

« previous php.cvs (#46102) next »