LibGfx: Fix typos in ICC spec comments

This commit is contained in:
Linus Groh 2023-01-03 18:24:21 +01:00
parent fb2be937ac
commit b9913f9441

View file

@ -222,13 +222,13 @@ ErrorOr<XYZ> parse_pcs_illuminant(ICCHeader const& header)
ErrorOr<time_t> parse_creation_date_time(ICCHeader const& header) ErrorOr<time_t> parse_creation_date_time(ICCHeader const& header)
{ {
// iCC v4, 7.2.8 Date and time field // ICC v4, 7.2.8 Date and time field
return parse_date_time_number(header.profile_creation_time); return parse_date_time_number(header.profile_creation_time);
} }
ErrorOr<void> parse_file_signature(ICCHeader const& header) ErrorOr<void> parse_file_signature(ICCHeader const& header)
{ {
// iCC v4, 7.2.9 Profile file signature field // ICC v4, 7.2.9 Profile file signature field
if (header.profile_file_signature != 0x61637370) if (header.profile_file_signature != 0x61637370)
return Error::from_string_literal("ICC::Profile: profile file signature not 'acsp'"); return Error::from_string_literal("ICC::Profile: profile file signature not 'acsp'");
return {}; return {};