com php-src: FALSE on error: ext/gd/gd.c

From: Date: Wed, 27 Mar 2013 04:13:30 +0000
Subject: com php-src: FALSE on error: ext/gd/gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-71757@lists.php.net to get a copy of this message
Commit: f3ebb40ad6041e9c29e165f9d7017fb50063129f Author: Pierre Joye <pierre.php@gmail.com> Wed, 27 Mar 2013 05:13:30 +0100 Parents: 4d73bb070ee90336984f275eb24f7d1ca1cff1ea Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f3ebb40ad6041e9c29e165f9d7017fb50063129f Log: FALSE on error Changed paths: M ext/gd/gd.c Diff: diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 23a6ec9..3ce1a2c 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1814,7 +1814,7 @@ PHP_FUNCTION(imagepalettetotruecolor) ZEND_FETCH_RESOURCE(im, gdImagePtr, &IM, -1, "Image", le_gd); if (gdImagePaletteToTrueColor(im) == 0) { - RETURN_TRUE; + RETURN_FALSE; } RETURN_TRUE;

« previous php.cvs (#71757) next »