]> granicus.if.org Git - php/commitdiff
Fix proto comment
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 3 Sep 2016 11:31:13 +0000 (13:31 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 3 Sep 2016 11:41:29 +0000 (13:41 +0200)
While we're at it, we also change a related comment to use American English
consistently.

ext/gd/gd.c

index afd3765f1525fb94a08521860c2cee0b43ea21bd..659c4143a8887a61108423b90574367a682a9a2f 100644 (file)
@@ -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;