Skip to content

Commit bca913d

Browse files
committed
Fix proto comment
While we're at it, we also change a related comment to use American English consistently.
1 parent c83bdb8 commit bca913d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/gd/gd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@ PHP_FUNCTION(imageistruecolor)
16441644
/* }}} */
16451645

16461646
/* {{{ proto void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
1647-
Convert a true colour image to a palette based image with a number of colours, optionally using dithering. */
1647+
Convert a true color image to a palette based image with a number of colors, optionally using dithering. */
16481648
PHP_FUNCTION(imagetruecolortopalette)
16491649
{
16501650
zval *IM;
@@ -1670,8 +1670,8 @@ PHP_FUNCTION(imagetruecolortopalette)
16701670

16711671

16721672

1673-
/* {{{ proto void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
1674-
Convert a true colour image to a palette based image with a number of colours, optionally using dithering. */
1673+
/* {{{ proto void imagepalettetotruecolor(resource im)
1674+
Convert a palette based image to a true color image. */
16751675
PHP_FUNCTION(imagepalettetotruecolor)
16761676
{
16771677
zval *IM;

0 commit comments

Comments
 (0)