[libpng16] Fixed spelling of "chromaticAdaptationTag" in error messages.

This commit is contained in:
Glenn Randers-Pehrson 2012-09-05 09:14:37 -05:00
parent 933bc842ac
commit 73f826cb49

6
png.c
View File

@ -2477,17 +2477,17 @@ png_icc_find_chad(png_const_structrp png_ptr, png_const_charp name,
return 2;
(void)profile_error(png_ptr, NULL, name, temp,
"singular or overflowed ICC profile chromaticAdaptaionTag");
"singular or overflowed ICC profile chromaticAdaptationTag");
}
else
(void)profile_error(png_ptr, NULL, name, temp,
"invalid type for ICC profile chromaticAdaptaionTag");
"invalid type for ICC profile chromaticAdaptationTag");
}
else /* Internal libpng error */
(void)profile_error(png_ptr, NULL, name, tag_length,
"invalid length for ICC profile chromaticAdaptaionTag");
"invalid length for ICC profile chromaticAdaptationTag");
}
else