summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2023-01-06 19:59:03 -0500
committerSam Atkins <atkinssj@gmail.com>2023-01-07 13:41:41 +0000
commit8f4d2486dd99075e4a968b1bb8f294d944c0569d (patch)
treec2837452c72b7deef74d540662139418ae43e6a4
parentfdbe501d3e52942d28e60593876a1b0f2d2acc06 (diff)
downloadserenity-8f4d2486dd99075e4a968b1bb8f294d944c0569d.zip
LibGfx: Expand spec comment for parse_device_attributes() in ICCProfile
-rw-r--r--Userland/Libraries/LibGfx/ICCProfile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGfx/ICCProfile.cpp b/Userland/Libraries/LibGfx/ICCProfile.cpp
index fc703f72cc..78adbffccd 100644
--- a/Userland/Libraries/LibGfx/ICCProfile.cpp
+++ b/Userland/Libraries/LibGfx/ICCProfile.cpp
@@ -231,6 +231,7 @@ ErrorOr<DeviceAttributes> parse_device_attributes(ICCHeader const& header)
ErrorOr<void> parse_file_signature(ICCHeader const& header)
{
// ICC v4, 7.2.9 Profile file signature field
+ // "The profile file signature field shall contain the value “acsp” (61637370h) as a profile file signature."
if (header.profile_file_signature != 0x61637370)
return Error::from_string_literal("ICC::Profile: profile file signature not 'acsp'");
return {};