Skip to content

Commit b78c087

Browse files
committed
Fix typo (Paletter → Palette)
This also aligns the error message with upstream[1]. [1] <https://github.com/libgd/libgd/blob/gd-2.3.3/src/gd_webp.c#L182> Closes GH-9414.
1 parent 205ad0a commit b78c087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/libgd/gd_webp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality)
113113
}
114114

115115
if (!gdImageTrueColor(im)) {
116-
zend_error(E_ERROR, "Paletter image not supported by webp");
116+
zend_error(E_ERROR, "Palette image not supported by webp");
117117
return;
118118
}
119119

0 commit comments

Comments
 (0)