1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:07:45 +00:00

LibGfx: Fix typo in an error message in TextTagData::from_bytes()

This commit is contained in:
Nico Weber 2023-01-22 21:56:49 -05:00 committed by Linus Groh
parent e7eccf4ac8
commit 2bfd09b173

View file

@ -769,7 +769,7 @@ ErrorOr<NonnullRefPtr<TextTagData>> TextTagData::from_bytes(ReadonlyBytes bytes,
u8 const* text_data = bytes.data() + 8;
for (u32 i = 0; i < length; ++i) {
if (text_data[i] >= 128)
return Error::from_string_literal("ICC::Profile: textType data not 7-byte ASCII");
return Error::from_string_literal("ICC::Profile: textType data not 7-bit ASCII");
}
if (length == 0)