iliaa           Wed Apr 14 18:40:16 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src    NEWS 
    /php-src/ext/gd/libgd       gd.c 
  Log:
  Fixed bug #27995 (imagefilltoborder() stops the fill process prematurely).
  
  # Already in PHP5
  
  
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.638&r2=1.1247.2.639&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.638 php-src/NEWS:1.1247.2.639
--- php-src/NEWS:1.1247.2.638   Wed Apr 14 10:51:24 2004
+++ php-src/NEWS        Wed Apr 14 18:40:15 2004
@@ -1,5 +1,9 @@
 PHP 4                                                                      NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
+?? ??? 2004, Version 4.3.7
+- Fixed bug #27995 (imagefilltoborder() stops the fill process prematurely).
+  (Ilia)
+
 15 Apr 2004, Version 4.3.6
 - Updated bundled PDFLib library to version 5.0.3p1 in Windows distribution.
   (Edin)
http://cvs.php.net/diff.php/php-src/ext/gd/libgd/gd.c?r1=1.24.2.28&r2=1.24.2.29&ty=u
Index: php-src/ext/gd/libgd/gd.c
diff -u php-src/ext/gd/libgd/gd.c:1.24.2.28 php-src/ext/gd/libgd/gd.c:1.24.2.29
--- php-src/ext/gd/libgd/gd.c:1.24.2.28 Mon Mar 29 13:21:00 2004
+++ php-src/ext/gd/libgd/gd.c   Wed Apr 14 18:40:16 2004
@@ -1823,7 +1823,7 @@
        if (y < ((im->sy) - 1)) {
                lastBorder = 1;
                for (i = leftLimit; i <= rightLimit; i++) {
-                       int c = gdImageGetTrueColorPixel(im, i, y + 1);
+                       int c = gdImageGetPixel(im, i, y + 1);
 
                        if (lastBorder) {
                                if ((c != border) && (c != color)) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to