From: Christoph M. Becker Date: Sat, 3 Sep 2016 11:31:13 +0000 (+0200) Subject: Fix proto comment X-Git-Tag: php-7.1.0RC2~56^2~19^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bca913d70a541b0f837aa1394c4c32d6d0d2ffa1;p=php Fix proto comment While we're at it, we also change a related comment to use American English consistently. --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index afd3765f15..659c4143a8 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;