com php-src: Fix proto comment: ext/gd/gd.c
| From: | Christoph Michael Becker | Date: | Sat, 03 Sep 2016 11:41:29 +0000 |
| Subject: | com php-src: Fix proto comment: ext/gd/gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94275@lists.php.net to get a copy of this message | ||
Commit: bca913d70a541b0f837aa1394c4c32d6d0d2ffa1
Author: Christoph M. Becker <cmbecker69@gmx.de> Sat, 3 Sep 2016 13:31:13 +0200
Parents: c83bdb8e6a8c66ffad1079a9802ed53372007562
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bca913d70a541b0f837aa1394c4c32d6d0d2ffa1
Log:
Fix proto comment
While we're at it, we also change a related comment to use American English
consistently.
Changed paths:
M ext/gd/gd.c
Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index afd3765..659c414 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -1644,7 +1644,7 @@ PHP_FUNCTION(imageistruecolor)
/* }}} */
/* {{{ proto void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
- Convert a true colour image to a palette based image with a number of colours, optionally using
dithering. */
+ Convert a true color image to a palette based image with a number of colors, optionally using
dithering. */
PHP_FUNCTION(imagetruecolortopalette)
{
zval *IM;
@@ -1670,8 +1670,8 @@ PHP_FUNCTION(imagetruecolortopalette)
-/* {{{ proto void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
- Convert a true colour image to a palette based image with a number of colours, optionally using
dithering. */
+/* {{{ proto void imagepalettetotruecolor(resource im)
+ Convert a palette based image to a true color image. */
PHP_FUNCTION(imagepalettetotruecolor)
{
zval *IM;