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:
parent
e7eccf4ac8
commit
2bfd09b173
1 changed files with 1 additions and 1 deletions
|
@ -769,7 +769,7 @@ ErrorOr<NonnullRefPtr<TextTagData>> TextTagData::from_bytes(ReadonlyBytes bytes,
|
||||||
u8 const* text_data = bytes.data() + 8;
|
u8 const* text_data = bytes.data() + 8;
|
||||||
for (u32 i = 0; i < length; ++i) {
|
for (u32 i = 0; i < length; ++i) {
|
||||||
if (text_data[i] >= 128)
|
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)
|
if (length == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue