From 8f4d2486dd99075e4a968b1bb8f294d944c0569d Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 6 Jan 2023 19:59:03 -0500 Subject: LibGfx: Expand spec comment for parse_device_attributes() in ICCProfile --- Userland/Libraries/LibGfx/ICCProfile.cpp | 1 + 1 file changed, 1 insertion(+) 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 parse_device_attributes(ICCHeader const& header) ErrorOr 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 {}; -- cgit v1.2.3